Re: [libxml++] Stuck sax parse never returns



On Fri, Apr 09, 2004 at 09:51:03AM +0200, Christophe de VIENNE wrote:
> Paul Robinson wrote:
> 
> >I am calling parse_memory on an XML++ sax parser and
> >passing it a std::string.  Sometimes it works and
> >sometimes it gets part way through the xml document
> >and then stops after an end_element call, never
> >completing the document.
> > 
> >
> 
> Never seen such a behavior.
> 
> >My document is very short - only a single line of well
> >formed xml.
> >
> >Any tips on what I might be doing to cause this?
> > 
> >
> 
> No. Could you post a sample which reproduce the problem ?

  and to make sure this is not a libxml2 bug, save said sample
to  a file , and try xmllint --memory test.xml
if this blocks then it's a libxml2 bug [1], if not either it's libxml++
or it's your code :-)

Daniel

[1] in which case then please follow the guidelines at
    http://xmlsoft.org/bugs.html , thanks !

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
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]