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

N3 Parser and escaped ( %3A ) colon

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Not A Problem
    • Jena 2.7.3
    • None
    • IRI, Jena, RIOT
    • None

    Description

      Having the following n3 file, I get a tottaly different behaviour when calling getNameSpace() and getLocalName for the resources.

      For resource:
      <http://aNameSpace/TestWith%3AColon>
      I get:
      namespace: http://aNameSpace/TestWith%3A
      LocalName: Colon

      For resource:
      <http://aNameSpace/TestWith3AColon>
      I get:
      namespace: http://aNameSpace/
      LocalName: TestWith3AColon

      First one is wrong, second is correct.

      Attachments

        1. eu1.n3
          0.2 kB
          Jerry Dimitriou

        Activity

          People

            andy Andy Seaborne
            jerouris Jerry Dimitriou
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: