M
Mani
Hi,
I don't know if this is right newsgroup, anyway I will go ahead with the
question.
I am developing some application on a Linux box and I am using xerces-c for
xml parsing.
The application does the calls the
URLInputSource src = URLInputSource ("URL", "http"); //the URL points to
some xml data.
parser.parse (src) //where parser is a wrapper over XercesDOMParser.
I captured the data TCP packets exchanged between the webserver and the
application. I found this.
Some of the webservers (actually they are different IP phone models), send
the whole xml data in one chunk, the parsing suceeds.
If the xml data from the webserver is split into more than one chunk, then
xerces-c complains saying that the document is "Invalid document structure".
Is this a bug in parsing using URLInputSource or is there someway I can fix
this.
Thanks for your help,
Mani
I don't know if this is right newsgroup, anyway I will go ahead with the
question.
I am developing some application on a Linux box and I am using xerces-c for
xml parsing.
The application does the calls the
URLInputSource src = URLInputSource ("URL", "http"); //the URL points to
some xml data.
parser.parse (src) //where parser is a wrapper over XercesDOMParser.
I captured the data TCP packets exchanged between the webserver and the
application. I found this.
Some of the webservers (actually they are different IP phone models), send
the whole xml data in one chunk, the parsing suceeds.
If the xml data from the webserver is split into more than one chunk, then
xerces-c complains saying that the document is "Invalid document structure".
Is this a bug in parsing using URLInputSource or is there someway I can fix
this.
Thanks for your help,
Mani