James Mason wrote:
It looks like Slide's current logic goes something like this:

Get the name of the first child of the <propfind> element.
if (the name is "propname") return a list of property names
else if (the name is "prop" or "allprop") return properties
else throw an exception

It should be easy enough to loop through all of the children (instead of
just looking at the first) and ignore anything out of the ordinary. This
implies that's there's some sort of precedence (propname, prop, allprop)
and that there should be a default if no valid options are found.

What does the spec say about this?

The spec says that either propname, prop or allprop must be present, and that any unknown element must be ignored (BTW: this applies to the XML handling for all WebDAV messages).



Julian

--
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760

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



Reply via email to