[jdom-interest] parentless DOM nodes created by DOMOutputter

Elliotte Rusty Harold elharo at metalab.unc.edu
Thu Apr 18 09:31:39 PDT 2002


At 10:48 AM -0400 4/18/02, Alex Rosen wrote:


>That would be my suggestion, if we could get rid of that NamespaceStack
>param.
>

That is nasty. I really hate NamespaceStack. I wish I had a better 
idea for how to handle what it does. Maybe we could use the SAX 
NamespaceSupport class instead?

In any case, if there's no easy way to get rid of this parameter, 
then we should just delete or make private all the DOMOutputter 
methods that output anything other than a Document.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
|             http://www.cafeconleche.org/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+



More information about the jdom-interest mailing list