WebDAV PROPFIND response violates XML-Namespace
Bug #1420673 reported by
Dieter Maurer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Zope 2.13.19
Issuing a WebDAV "PROPFIND" againt a Plone "Folder", I got a response violationg XML-Namespace:
<?xml version="1.0" encoding="utf-8"?>
<d:multistatus xmlns:d="DAV:">
<d:response>
<d:href>
<d:propstat xmlns:n="http://
<d:prop>
<n:title>
</d:prop>
<d:status>
</d:propstat>
<d:propstat xmlns:n="DAV:">
<d:prop>
<n:creationda
...
</d:prop>
...
</d:propstat>
</d:response>
...
</d:multistatus>
The namespace prefix inside the second "propstat" is not defined.
affects: | acquisition → zope2 |
To post a comment you must log in.
Looks to me like the 'n:' prefix is associated with the 'DAV:' namespace in the second '<d:propstat>' element. If I take your example and drop the ellipses, xmllint is happy::
$ xmllint /tmp/lp1420673.xml href>/partner/ bp3/test/ </d:href> www.zope. org/propsets/ default"> title>Test< /n:title> status> HTTP/1. 1 200 OK</d:status> creationdate> 1970-01- 01T12:00: 00Z</n: creationdate> multistatus>
<?xml version="1.0" encoding="utf-8"?>
<d:multistatus xmlns:d="DAV:">
<d:response>
<d:
<d:propstat xmlns:n="http://
<d:prop>
<n:
</d:prop>
<d:
</d:propstat>
<d:propstat xmlns:n="DAV:">
<d:prop>
<n:
</d:prop>
</d:propstat>
</d:response>
</d: