RE: XML elements in a response

The URL of the resource is not "http://www.foo.bar/boxschema/" -- that's a
namespace for two of the properties.  Although namespaces can look like
URLs, there may or may not be a document at the URL.  You can think of it as
a string of unique characters, no different than "DAV:", even though it
looks different.

The URL of the resource is in fact "http://www.foo.bar/container/".  The URL
of the resource always appears in the <href></href> tags inside multistatus
bodies.

I think Geoff answered your other questions...

Lisa

-----Original Message-----
From: ietf-dav-versioning-request@w3.org
[mailto:ietf-dav-versioning-request@w3.org]On Behalf Of Elodie Tasia
Sent: Thursday, December 06, 2001 1:36 AM
To: IETF DAV
Subject: XML elements in a response


I've seen in this document : http://www.ietf.org/rfc/rfc2518.txt some
exemples of DAV request and responses.
But there are still some things I'm not sure about...

When you see that :

<?xml version="1.0" encoding="utf-8" ?>
   <multistatus xmlns="DAV:">
     <response>
         <href>http://www.foo.bar/container/</href>
          <propstat>
               <prop xmlns:R="http://www.foo.bar/boxschema/">
                    <R:bigbox/>
                    <R:author/>
                    <creationdate/>
                    <displayname/>
                    <resourcetype/>
                    <supportedlock/>
               </prop>
              <status>HTTP/1.1 200 OK</status>
          </propstat>
    </response>

What does "multistatus" mean ?
The line xmlns="DAV:" means that DAV is the default namespace ?
And since xmlns:R=... defines the URL of the resource, is R:bigbox a live
property ?

Thanx in advance

Received on Thursday, 6 December 2001 11:11:06 UTC