Bug in WebDAV draft of April 1, 1998?

This is the XML for the "supportedlock" property
in the WebDAV draft of April7, 1998:

<!ELEMENT supportedlock (lockentry)* >
<!ELEMENT lockentry (lockscope, locktype)>
<!ELEMENT lockscope (exclusive, shared)>
<!ELEMENT exclusive EMPTY>
<!ELEMENT shared EMPTY>
<!ELEMENT locktype (write)>
<!ELEMENT write EMPTY>

In section 7.1.2 of the April 7, 1998 WebDAV draft,
the example returns the following values for
the "supportedlock" property of the two resources:

<D:supportedlock>
    <D:lockentry>
        <D:exclusive/><D:write/>
    </D:lockentry>
    <D:lockentry>
        <D:shared/><D:write/>
    </D:lockentry>
</D:supportedlock>

(Both resources happen to have the same value
for "supportedlock".)

There was a typo, right? The value should have been:

<D:supportedlock>
    <D:lockentry>
        <D:locokscope><D:exclusive/></D:lockscope>
        <D:locktype><D:write/></D:locktype>
    </D:lockentry>
    <D:lockentry>
        <D:lockscope><D:shared/></D:lockscope>
        <D:locktype><D:write/></D:locktype>
    </D:lockentry>
</D:supportedlock>

Right?

Alan Babich

Received on Monday, 28 September 1998 18:13:10 UTC