Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Issue with Xerces URLInputSource

From: "Mani" <mvenkite@-----.--->
To: NULL
Date: 12/2/2004 3:46:00 PM
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




transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent