[HTTP-in-RDF] XMLContent and entity references

Hi group,

I identified an issue with XMLContent: the content character stream may 
contain entity references (e.g.  ), which can only be dereferenced 
with a document type definition (internal or external).

When we split the content into parts (preceeding the DoctypeDecl, the 
DoctypeDecl itself, and following the DoctypeDecl) and use an XMLLiteral 
for the part following the DoctypeDecl, the entity references cannot be 
dereferenced any more. The RDF/XML serialization then is not well-formed.

So we can only use XMLContent for XML content that does not contain 
entity references.

-- 
Johannes Koch
BIKA Web Compliance Center - Fraunhofer FIT
Schloss Birlinghoven, D-53757 Sankt Augustin, Germany
Phone: +49-2241-142628    Fax: +49-2241-142065

Received on Thursday, 12 July 2007 12:01:29 UTC