Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

DO NOT REPLY [Bug 15728] New: - property values with XML have incorrect namespaces

From: <bugzilla(at)apache.org>
Date: Mon Dec 30 2002 - 19:20:44 EST


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=15728>.
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=15728

property values with XML have incorrect namespaces

           Summary: property values with XML have incorrect namespaces
           Product: Apache httpd-2.0
           Version: 2.0.43
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_dav
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: Christopher.D.Knight@nasa.gov

In doing a PROPPATCH like:

<?xml version="1.0" encoding="utf-8"?><D:propertyupdate

xmlns:D="DAV:"
xmlns:alpha="
http://www.arc.nasa.gov/"
xmlns:custom="
http://webdav.org/cadaver/custom-properties/"
><D:set>
<D:prop>
<custom:foo>
<alpha:bar>baz</alpha:bar></custom:foo>
</D:prop></D:set></D:propertyupdate>

The subsequent PROPFIND returns (note that while the proper namespace alias has been defined (ns2), the incorrect namespace is used (ns0)):

<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response xmlns:ns0="DAV:"

xmlns:ns1="
http://webdav.org/cadaver/custom-properties/"
xmlns:ns2="
http://www.arc.nasa.gov/" xmlns:lp1="DAV:"
xmlns:lp2="
http://apache.org/dav/props/">

<D:href>/davfs/</D:href>
<D:propstat>
<D:prop>
<ns1:foo>
<ns0:bar>baz</ns0:bar></ns1:foo>
<lp1:resourcetype><D:collection/></lp1:resourcetype>
<lp1:creationdate>2002-12-31T00:03:08Z</lp1:creationdate>
<lp1:getlastmodified>Tue, 31 Dec 2002 00:03:08 GMT</lp1:getlastmodified>
<lp1:getetag>"42d2d-200-eaa82700"</lp1:getetag>
<D:supportedlock>


To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org Received on Tue Dec 31 00:19:25 2002

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 16:44:15 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library