DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11637>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11637

PROPFIND returns invalid XML

           Summary: PROPFIND returns invalid XML
           Product: Apache httpd-2.0
           Version: 2.0.40
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: All
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: [EMAIL PROTECTED]


After the following PROPPATCH, a PROPFIND on these new properties returns a 
response with invalid XML - "DOM Error: NAMESPACE_ERR: Attempt to create or 
change an object in a way which is incorrect with regard to namespaces". 

This bug could be a duplicate of 11468, but the strange namespace prefixes 
(ns272756832 and ns272756832 in this example (which should just be ns1)) are 
never declared (as opposed to declared too late in 11468).

PROPPATCH
<?xml version="1.0" encoding="utf-8" ?>
<D:propertyupdate xmlns:D="DAV:">
   <D:set>
      <D:prop>
         <YY:type xmlns:YY="http://www.sas.com/rnd/itech/WebDAV";>
            <YY:p1>event</YY:p1>
            <YY:p2>high</YY:p2>
         </YY:type>
         <Z:Color 
xmlns:Z="http://www.sas.com/rnd/itech/WebDAV/";>Yellow</Z:Color>
      </D:prop>
   </D:set>
</D:propertyupdate>


PROPFIND
<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response xmlns:ns0="DAV:" xmlns:ns1="http://www.sas.com/rnd/itech/WebDAV"; 
xmlns:ns2="http://www.sas.com/rnd/itech/WebDAV/";>
<D:href>/davdigest/Tests/mpptest/</D:href>
<D:propstat>
<D:prop>
<ns1:type><ns272756832:p1>event</ns272756832:p1><ns272756832:p2>high</ns2727568
32:p2></ns1:type>
<ns2:Color>Yellow</ns2:Color>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to