Hey list, I'd like to know why the following triple
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix awol: <http://bblfish.net/work/atom-owl/2006-06-06/AtomOwl.html#> . _:smth awol:xml '<div xmlns="http://www.w3.org/1999/xhtml"><p>stuff<br/>more stuff</p></div>'^^rdf:XMLLiteral . serialized into RDF/XML produces escaped XMLLiteral: <rdf:Description rdf:nodeID="A23"> <awol:xml rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral"><div xmlns="http://www.w3.org/1999/xhtml"><p>stuff<br/>more stuff</p></div></awol:xml> </rdf:Description> However this one _:smth awol:xml '<div xmlns="http://www.w3.org/1999/xhtml"><p>stuff<br></br>more stuff</p></div>'^^rdf:XMLLiteral . produces unescaped XMLLiteral, as expected: <rdf:Description rdf:nodeID="A23"> <awol:xml rdf:parseType="Literal"><div xmlns="http://www.w3.org/1999/xhtml"><p>stuff<br></br>more stuff</p></div></awol:xml> </rdf:Description> Both <br/> and <br></br> are well-formed and equivalent in the XML context, so why the difference in serialization? I'm using Jena 2.6.4 and ARQ 2.8.7. Martynas graphity.org
