OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Serializing doc + entities

[ Lists Home | Date Index | Thread Index ]


I would like to be able to transport an XML document that contains
references to unparsed external entities. To this end I would like to
serialize the document along with its entities.

It seems to me that the most natural way to accomplish this is to define a
lexical wrapper for an XML document. The schema would include lexical
information, such as the declarations for the unparsed entities. An obvious
candidate for this is Appendix G of XSLT 2.0, "Representation of Lexical
XML Constructs". The lexical declarations would be followed by elements of
type base64Binary that contain the unparsed entities themselves, followed
finally by the document root element. A receiving application could then
pass the document to a SAX-conformant process, and make the external
entities available via a special purpose entity manager.

Does anyone on this list know of any applications that perform this, from
which I might learn or borrow?  

// Gregory Murphy <Gregory.Murphy@sun.com>
// Software Engineer
// Customer Network Platform, Sun Microsystems






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS