You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jena.apache.org by "afs (via GitHub)" <gi...@apache.org> on 2023/09/06 16:21:57 UTC

[GitHub] [jena] afs commented on issue #2007: Jena riot support for urn:uuid: ?

afs commented on issue #2007:
URL: https://github.com/apache/jena/issues/2007#issuecomment-1708704776

   Base is not a prefix - it has to be a legal URI and then follows the URI resolution rules.
   
   "urn:uuid:" is an illegal URN. Jena checks some URI schemes for the scheme specific rules , including urn:uuid
   
   A URN has three parts `urn:NSS:NID`, none of which can be omitted.
   
   The urn:uuid sub-scheme additionally must have a legal UUID string for the NID part.
   
   xml:base="urn:uuid:810ee1ae-4cd0-11ee-be3e-5776e9cc7a4e"
   
   however, to use URNs as a base combined with a relative URI is tricky because URNs are not hierarchical (no "/" path)
   
   Try: 
   
   `xml:base="http://example/"`
   
   For use in RDF about:
   
   `rdf:about="urn:uuid:810ee1ae-4cd0-11ee-be3e-5776e9cc7a4e" should work.
   


-- 
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: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org