Re: [xml] Parsing error: Extra content at the end of the document



On Mon, Apr 23, 2007 at 12:41:31PM +0530, Agarwal, Saumya wrote:
Hi,
 
I get the following parsing error intermittently when doing the XML
parsing through libxml2 -
"Extra content at the end of the document ".
 
The XML given to the parser appears to be fine (when opened with xml
tools like xml notepad etc.). 
What are the general conditions under which the libxml2 parser throws
this error?

  http://www.w3.org/TR/REC-xml/#NT-document
  when after the root element what you have after it befor the end of the
file does not match Misc production
  http://www.w3.org/TR/REC-xml/#NT-Misc

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/



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