You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2016/10/29 13:12:58 UTC
[jira] [Resolved] (JENA-1253) ResourceFactory.createProperty fails
with some URLs
[ https://issues.apache.org/jira/browse/JENA-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Seaborne resolved JENA-1253.
---------------------------------
Resolution: Fixed
Assignee: Andy Seaborne
Fix Version/s: Jena 3.1.1
[~grahamtriggs] Thank you for the report.
Check on the code path via ResourceFactory removed. That makes behaviour consistent and does not cause existing code to start to fail.
> ResourceFactory.createProperty fails with some URLs
> ---------------------------------------------------
>
> Key: JENA-1253
> URL: https://issues.apache.org/jira/browse/JENA-1253
> Project: Apache Jena
> Issue Type: Bug
> Components: Core
> Affects Versions: Jena 3.1.0
> Reporter: Graham Triggs
> Assignee: Andy Seaborne
> Fix For: Jena 3.1.1
>
>
> I've recently updated a project that I work on from Jena 2.11 to 3.1.
> A section of code that checks to see if a URI has been used anywhere in the model includes a call to ResourceFactory.createProperty(String).
> This never caused a problem in 2.11. However, with 3.1, it now fails with an InvalidPropertyURIException for the following URI:
> "http://www.eionet.europa.eu/gemet/concept/148"
> The behaviour is inconsistent with Model / OntModel createProperty(String), which allows the URI to be used without issue.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)