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

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

Thanks for the quick reply Andy. 

So what you are saying is that "TestWith%3AColon" is not a valid local name? 
Because protege parsed this "correctly". Also if it is not the case, how is it 
possible to put ":" in the localnames? Do you have any links that provide the 
restrictions within local names?

Thanks!
                
> 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