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

Andy Seaborne commented on JENA-1847:
-------------------------------------

{{getLocalName}} returns a split suitable for all situations. RDF/XML is the 
most restrictive. XML QNames can not start with a digit. For compatibility, we 
leave this behaviour for {{getLocalName}}.

See {{SplitIRI}} for variations of the split algorithms.

> getLocalName() 
> ---------------
>
>                 Key: JENA-1847
>                 URL: https://issues.apache.org/jira/browse/JENA-1847
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Base
>    Affects Versions: Jena 3.12.0
>            Reporter: Lutz Weber
>            Priority: Major
>
> object.getLocalName() does not work for mixed number/letter IDs:
> fromĀ [http://xyz.com/ontology/123xyzuvw] we get xyzuvw 
>  fromĀ [http://xyz.com/ontology/x123yzuvw] we get x123yzuvw



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to