[jdom-interest] Processing Instructions
Elliotte Rusty Harold
elharo at metalab.unc.edu
Fri Jul 23 12:09:50 PDT 2004
At 4:34 PM +0000 7/23/04, Einar Egilsson wrote:
>Hi
>
>I´m new to this list. Work in iceland and am
>currently using JDOM on a project.
>I noticed to today that if I add a ProcessingInstruction before I set the
>root element of the document then it works fine but if I set it AFTER i´ve
>called doc.setRootElement(someElement) then it
>doesn´t show up when I´m outputting
>the XML. Does anyone know if this is intentional or a bug?
>
It *sounds* like a bug, but it's hard to tell for
sure from just your description. Can you provide
a simple, one-file test case that demonstrates
the problem?
--
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