On Fri, Mar 15, 2013 at 05:40:35PM +0530, Venkataragavan Vijayakumar wrote:
> Hi All,
> 
> I am receiving the multiple xml bodies using a single TCP connection ,

 it is a design mistake in your solution. The parser cannot detect the
end of the document:

  [1]       document       ::=      prolog element Misc*
  [27]      Misc           ::=      Comment | PI | S

at the end of the root element the document can contain an unbounded
amount of extra content. The process feeding the parser must indicate
the end to the parser. It's incredible that after 15 years of XML usage
people are still doing the same basic mistakes.

Daniel

> how
> to identity the End of a XML body.
> 
> Thanks,
> Venkat.

> _______________________________________________
> xml mailing list, project page  http://xmlsoft.org/
> [email protected]
> https://mail.gnome.org/mailman/listinfo/xml


-- 
Daniel Veillard      | Open Source and Standards, Red Hat
[email protected]  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
https://mail.gnome.org/mailman/listinfo/xml

Reply via email to