Re: Error parsing XML with DOMParser

2007-05-18 Thread JRancier
Very elegant solution. My client (Java) application communicates with C server application, compiled with MetaWare's HighC compiler, but the ideas are very reusable. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: Error parsing XML with DOMParser

2007-05-18 Thread JRancier
I did write both the client and the server. Thanks for the link. There's no problem with the protocol, I'm just having issues with the conversion of the data to the various format (classes) for the DOMParser methods. Jeff -

Re: Error parsing XML with DOMParser

2007-05-17 Thread Michael Glavassevich
Hi Jeff, There's a sample [1] included with Xerces which shows how you can process XML documents (multiple ones or a single one followed by arbitrary data) sent over a socket. If you're in control of both ends of the stream, you might want to implement something like that. Thanks. [1] http:/

Error parsing XML with DOMParser

2007-05-17 Thread JRancier
I'm receiving an XML document over a TCP socket, I then instantiate an instance of DOMParser and attempt to parse the data. I get the identical exception when using Xerces-J as well. Here's the exception: org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x0) was found in mar