Hello,
I am using xfire-1.2.6.
I am trying to use org.codehaus.xfire.util.stax.JDOMStreamReader to parse a
jdom-Document.
I cannot figure out how to distiniguish an xml-comment from xml-content.
I had a look at the source code and found the suspicious lines in
JDOMStreamReader.moveToChild(), see below.
Do you agree that this is a bug?
-------------------
else if (content instanceof CDATA)
return CHARACTERS;
else if (content instanceof Comment)
return CHARACTERS;
--------------------
I would propose to return CDATA and COMMENT, respectively.
Regards,
Oliver
--
Oliver Matz
Development
ppi Media GmbH
Deliusstrasse 10
24114 Kiel, Germany
Geschäftsführer: Norbert Ohl, Martin Ruhle
Amtsgericht Hamburg, HRB 84308
phone +49 (0) 431-53 53 -422
fax +49 (0) 431-53 53 -222
www.ppimedia.de
Explore your printnet!
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email