davidcockbill commented on issue #2376:
URL: https://github.com/apache/jena/issues/2376#issuecomment-2024992535

   Thanks for the quick replies.
   
   That'll teach me for looking at decompiled code in the debugger rather than 
the actual sources!
   
   As Andy says the actual source does mention this:
   
   ```
     /** Returns the localname of this resource within its namespace if it is a 
URI else null.
      * <p>
      * Note: XML requires QNames to start with a letter, not a digit,
      * and this method reflects that restriction.
      * <p>
      * See functions in {@code SplitIRI} for other split algorithms.
      * @return The localname of this property within its namespace.
      */
   ```
   
   I'lll investigate using either PrefixMapping or SplitIRI.
   
   When I have a free moment I'll consider creating a PR for those new methods, 
depending on my success!


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