Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#11 default namespace in PROPFIND parsing

open-fixed
None
8
2001-10-23
2001-10-19
Anonymous
No

Version: 1.0.2.4

If a server uses a PROPFIND response format without namespace prefixes but with a default namespace declaration, the properties are not
recognized.

example server response body:

<?xml version="1.0" encoding="utf-8"?>
<multistatus xmlns:"DAV:">
<response>
<href>/index.html</href>
<propstat>
<prop>
<creationdate>2001-10-18T20:20:34Z<creationdate>
<getlastmodified>Mon, 10 Sep 2001 13:24:50 GMT<getlastmodified>
<getetag>"5299-41e-3b9cbf26"</getetag>
<supportedlock>
<lockentry>
<lockscope><exclusive/></lockscope>
<locktype><write/></locktype>
</lockentry>
<lockentry>
<lockscope><shared/></lockscope>
<locktype><write/></locktype>
</lockentry>
</supportedlock>
<lockdiscovery/>
<resourcetype></resourcetype>
<getcontenttype>text/html</getcontenttype>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>

Discussion

  • Jacob Smullyan
    Jacob Smullyan
    2001-10-23

    • priority: 5 --> 8
    • assigned_to: nobody --> smulloni
    • status: open --> open-fixed
     
  • Jacob Smullyan
    Jacob Smullyan
    2001-10-23

    Logged In: YES
    user_id=108556

    fix applied in CVS to org.skunk.minixml.XMLElement. I urge
    the anonymous submitter of this bug to check the fix and
    determine whether it solves his/her problem -- js

     
  • Andreas Hubold
    Andreas Hubold
    2001-11-06

    Logged In: YES
    user_id=369046

    Sorry for the late answer (I am the anonymous submitter).
    Unfortunately your fix doesn't work for me.

    btw: there's a bug in my bug description ;) The namespace
    declaration uses of cause an equal sign and not a colon
    (<multistatus xmlns="DAV:">). So that's not the bug...