[ 
https://issues.apache.org/jira/browse/JENA-297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13436619#comment-13436619
 ] 

Jerry Dimitriou commented on JENA-297:
--------------------------------------

This is correct, as it can be seen here 
http://www.w3.org/TR/REC-xml/#NT-NameChar  , the LocalName cannot have the % 
character (unicode 0025) inside it. 
This is not a Jena problem. 
                
> 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
>            Assignee: Andy Seaborne
>            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