Re: [xml] xmlns:D: 'DAV:' is not a valid URI
- From: Daniel Veillard <veillard redhat com>
- To: Robert Strickland <Robert Strickland laserfiche com>
- Cc: xml gnome org
- Subject: Re: [xml] xmlns:D: 'DAV:' is not a valid URI
- Date: Fri, 3 Nov 2006 16:45:08 -0500
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
already.
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:response>
<D:href>http://server:5050/</D:href>
<D:propstat>
<D:prop/>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
paphio:~/XML ->
Yes you get a warning, still it doesn't stop parsing. Check your code
there is something else I guess
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]