R
Robert M. Gary
I receive an XML document in which one of the text nodes contains a
characters not in the character set (in this case its a ^L). The DOM that
creates the document converts it to a �x. However, I cannot get a parser
to accept the document with this character in it. Each time the parser gets
to &X0c it dies. I'm using DOM in Java 1.4 and Xerces 2.6 in C++ (Solaris
Sparc).
I've also created test programs in both Java and C++. My test program
creates the DOM, generates a document and then tries to parse the document
it just created. In each case, it fails!!! How crazy! The parser can't read
the doc it just created!?
BTW: In the actual problem I'm trying to solve, I really don't have any
control over the document I'm receiving.
Are there any options on the parser I can try???
Thanks you so much!
-Robert
characters not in the character set (in this case its a ^L). The DOM that
creates the document converts it to a �x. However, I cannot get a parser
to accept the document with this character in it. Each time the parser gets
to &X0c it dies. I'm using DOM in Java 1.4 and Xerces 2.6 in C++ (Solaris
Sparc).
I've also created test programs in both Java and C++. My test program
creates the DOM, generates a document and then tries to parse the document
it just created. In each case, it fails!!! How crazy! The parser can't read
the doc it just created!?
BTW: In the actual problem I'm trying to solve, I really don't have any
control over the document I'm receiving.
Are there any options on the parser I can try???
Thanks you so much!
-Robert