Re: [xml] DAV: namespace and xmlReader



On Fri, Jan 21, 2005 at 09:58:19AM +0100, Minor Gordon wrote:
Hello,

I am trying to parse WebDAV messages like the person below, and running 
into the same problem.  The xmlReader in the latest version of libxml2 
(.17) will not parse this -- it gives warning 99 (invalid namespace 
DAV:), and won't return the propfind element with 
xmlTextReaderConstLocalName.  I've tried xmlSetPedanticParserDefault(0) 
and xmlResetLastError() to get around the warning, to no avail.

libxml2 .10 doesn't trip on this, so we've reverted for now.  I would 
like to stay current with libxml2 fixes, though.

Is there any way to get around this?

  Reproduced the problem, I fixed it in CVS, it's the same problem as
    http://bugzilla.gnome.org/show_bug.cgi?id=164556

I don't see an easy way to work around it right now except to find a way to
reset ctxt->errNo . But the fix is in CVS, and should be available quickly
in the cvs snapshot on ftp://xmlsoft.org/

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://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]