Graham Triggs created JENA-1253:
-----------------------------------

             Summary: 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


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)

Reply via email to