afs opened a new issue, #3303: URL: https://github.com/apache/jena/issues/3303
### Version 5.4.0 ### What happened? ``` PREFIX haha: <http://> <http://example/s> <http://example/p> <http://example/o> . ``` written out as RDF/XML when the system is configured with `IRIProviderJenaIRI` (the default) throws an exception. ### Relevant output and stacktrace ```shell Exception in thread "main" org.apache.jena.irix.IRIException: <http://> Code: 57/REQUIRED_COMPONENT_MISSING in HOST: A component that is required by the scheme is missing. at org.apache.jena.irix.IRIProviderJenaIRI.exceptions(IRIProviderJenaIRI.java:273) at org.apache.jena.irix.IRIProviderJenaIRI.newIRIxJena(IRIProviderJenaIRI.java:155) at org.apache.jena.irix.IRIProviderJenaIRI.create(IRIProviderJenaIRI.java:163) at org.apache.jena.irix.IRIx.create(IRIx.java:55) at org.apache.jena.irix.IRIs.reference(IRIs.java:41) at org.apache.jena.irix.IRIs.checkEx(IRIs.java:62) at org.apache.jena.rdfxml.xmloutput.impl.BaseXMLWriter.checkURI(BaseXMLWriter.java:852) at org.apache.jena.rdfxml.xmloutput.impl.BaseXMLWriter.primeNamespace(BaseXMLWriter.java:224) at org.apache.jena.rdfxml.xmloutput.impl.BaseXMLWriter.setupNamespaces(BaseXMLWriter.java:467) at org.apache.jena.rdfxml.xmloutput.impl.BaseXMLWriter.write(BaseXMLWriter.java:451) at org.apache.jena.rdfxml.xmloutput.impl.BaseXMLWriter.write(BaseXMLWriter.java:442) ``` ### Are you interested in making a pull request? Yes -- 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]
