DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12789>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12789

CDATA BUG





------- Additional Comments From [EMAIL PROTECTED]  2002-09-18 21:20 -------
        DOMSource domSource =  new DOMSource(doc);
        Document doc = (Document)dom.getNode();

Your code is definitely broken. You're setting up a DOMSource with no DOM yet 
available to feed into it, and in a situation where you apparently want a 
StreamSource to read from the string, and... Start by fixing those and see where 
it gets you. Looks to me like this is basic user coding problems rather than a 
Xalan bug.

And if it *is* a bug, you should probably be reporting it against Xalan (since 
you're invoking a transformer), not Xerces. There might be a Xerces malfunction 
but we'd have to exonerate both your code and Xalan first.

Note that by using a transformer rather than a parser, you're going through 
Xalan's "default identity tranformation" rather than just running the Xerces 
parser. This means you may be going through the XPath data model (where the 
concept of CDATA Sections is discarded), and may be encountering bugs as well 
(since we know that the default tranform has some glitches; see Xalan's bugzilla 
entries).

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to