Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1253

ResourceFactory.createProperty fails with some URLs

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Jena 3.1.0
    • Fix Version/s: Jena 3.1.1
    • Component/s: Core
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              andy Andy Seaborne
              Reporter:
              grahamtriggs Graham Triggs

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment