Re: [xml] xmlns:D: 'DAV:' is not a valid URI

On Fri, Nov 03, 2006 at 11:06:31AM -0800, Robert Strickland wrote:
I am getting the warning "xmlns:D: 'DAV:' is not a valid URI" in a call
to xmlParseChunk, in Win32 using libxml2 version 2.6.27.

 that's normal, see the XML namespace spec and RFc2396, this was discussed

After raising
this warning, the parser seems to ignore the rest of the document. The

  That's not normal, and I can't reproduce the problem:

paphio:~/XML -> xmllint tst.xml 
tst.xml:1: parser warning : xmlns:D: 'DAV:' is not a valid URI
<D:multistatus xmlns:D="DAV:">
<?xml version="1.0"?>
<D:multistatus xmlns:D="DAV:">
<D:status>HTTP/1.1 200 OK</D:status>
paphio:~/XML -> 

  Yes you get a warning, still it doesn't stop parsing. Check your code
there is something else I guess


Red Hat Virtualization group
Daniel Veillard      | virtualization library
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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