rvesse commented on issue #3180:
URL: https://github.com/apache/jena/issues/3180#issuecomment-2862333845

   Per the Javadoc for 
[`Resource.getLocalName()`](https://jena.apache.org/documentation/javadoc/jena/org.apache.jena.core/org/apache/jena/rdf/model/Resource.html#getLocalName()):
   
   > Returns the localname of this resource within its namespace if it is a URI 
else null.
   >
   > Note: XML requires QNames to start with a letter, not a digit, and this 
method reflects that restriction.
   >
   > See functions in SplitIRI for other split algorithms.
   
   So in code you may not get the same local name you could get in some RDF 
syntaxes e.g. Turtle


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to