[ 
https://issues.apache.org/jira/browse/JENA-297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jerry Dimitriou updated JENA-297:
---------------------------------

    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. 

  was:
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%3
LocalName: AColon


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

First one is wrong, second is correct. 

    
> N3 Parser and escaped ( %3A ) colon 
> ------------------------------------
>
>                 Key: JENA-297
>                 URL: https://issues.apache.org/jira/browse/JENA-297
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: IRI, Jena, RIOT
>    Affects Versions: Jena 2.7.3
>            Reporter: Jerry Dimitriou
>            Priority: Critical
>         Attachments: eu1.n3
>
>
> 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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to