[xml] DAV parsing


I'm trying to implement a webdav server using libxml, but I have problems
parsing the data I get from the client.

here it is:
<?xml version="1.0" encoding="utf-8"?>
<propfind xmlns="DAV:"><prop>
<getcontentlength xmlns="DAV:"/>
<getlastmodified xmlns="DAV:"/>
<displayname xmlns="DAV:"/>
<executable xmlns="http://apache.org/dav/props/"/>
<resourcetype xmlns="DAV:"/>

the namespace contains the URI DAV: which libxml consider invalid.
Can I turn off validation? or define this namespace somehow?
what is the proper solution?

regards Tobias Bengtsson
`Given enough eyeballs, all bugs are shallow.'
     Registered linux user number 75150
 http://tobbe.nu/.sig   http://tobbe.nu/pgp

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