Re: [xml] How to find the End of the SOAP XML BODY

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.


to identity the End of a XML body.


xml mailing list, project page
xml gnome org

Daniel Veillard      | Open Source and Standards, Red Hat
veillard redhat com  | libxml Gnome XML XSLT toolkit | virtualization library

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]