chenejac / VIVOTestMigrationJIRANotClosed

0 stars 0 forks source link

VIVO-1347: Improve RDF/XML conformance to standard #316

Open chenejac opened 7 years ago

chenejac commented 7 years ago

Christopher Barnes (Migrated from VIVO-1347) said:

RDF/XML produced by SPARQL query does not have an associated DTD.  Such XML should have a header that indicates "standalone".

we should add "standalone=“yes”” to the xml declaration to let interpreters know that there will be NO external DTD style format document with the xml. Change header from "<?xml version=“1.0” ?> TO "<?xml version="1.0" standalone="yes" ?>”

chenejac commented 7 years ago

Graham Triggs said:

All RDF/XML is written directly via Jena.

I'm not seeing here how we can change what the xml declaration says:

[https://jena.apache.org/documentation/io/rdfxml_howto.html]

Rewriting the stream to do this seems very heavy handed - and there are a number of places that we have RDFWriters that would need to be looked at.

I'll put this in the pile to look at again later, but I suspect this should probably be closed as won't fix.

chenejac commented 7 years ago

Mike Conlon said:

Can we open a Jena ticket?