[jdom-interest] SAXOutputter

Elliotte Rusty Harold elharo at metalab.unc.edu
Sun Apr 25 06:25:22 PDT 2004

At 5:08 PM -0500 4/15/04, Bradley S. Huffman wrote:

>Yep, IIRC this came up last time Laurent was working on JDOMResult.  So any
>opinion on what JDOM should do?  From your first post, I assume your paper
>advocates only calling startDocument on the start of a actual well-formed
>document, but not when used to process a fragment.

I don't think SAX says what to do here. SAX is really only defined in 
terms of what a parser does with XML documents. It doesn't say 
anything about weird uses such as document fragments emitted from SAX.


   Elliotte Rusty Harold
   elharo at metalab.unc.edu
   Effective XML (Addison-Wesley, 2003)

More information about the jdom-interest mailing list