Geoff Clemm writes: > But > in those cases where you do have the DTD's available (such as for the > DAV:xxx properties), it does provide some cognitive dissonance to > see an element like <DAV:creationdate/> in a PROPFIND request, > when the DTD for creationdate is: > <!ELEMENT creationdate (#PCDATA) > Actually, in this specific case the XML is valid. The construction <element/> is defined to be the same as <element></element> (an element with no contents). Since an empty element is consistent with the *DTD* for creationdate, <creationdate/> is valid. But, your point still holds for properties like lockdiscovery, which have a list of subelements as part of their DTD specification, so my objection is to your example, not to your general point. That said, I still think using a list of empty elements is fine within prop. - JimReceived on Thursday, 13 January 2000 20:53:25 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:43:53 GMT