[jdom-interest] SAXOutputter

Elliotte Rusty Harold elharo at metalab.unc.edu
Thu Apr 15 13:46:38 PDT 2004


At 12:18 PM -0500 4/15/04, Bradley S. Huffman wrote:


>Okay, what is the "right" thing to do?  Yes, the javadoc for startDocument
>says a "SAX parser will" which really doesn't specify what to do about
>fragments, so should output(List) call it or not?

This most frequently comes up in TrAX. Some processors call 
startDocument and endDocument for a fragment. Some don't. I don't 
think the spec properly addresses this point. :-(
-- 

   Elliotte Rusty Harold
   elharo at metalab.unc.edu
   Effective XML (Addison-Wesley, 2003)
   http://www.cafeconleche.org/books/effectivexml
   http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA



More information about the jdom-interest mailing list