Issue with Xerces URLInputSource

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,243
Members
46,836
Latest member
login dogas

Latest Threads

Top