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: [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]
