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



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. After raising
this warning, the parser seems to ignore the rest of the document. The
xml document is a well-formed DAV multistatus response. The previous
version of libxml2 did not have this problem.

The xml in question:

<?xml version="1.0" encoding="UTF-8"?>
<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>"

Thanks,

Robert



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