W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > January to March 2006

[Bug 53] DAV:responsedescription content model

From: <bugzilla@soe.ucsc.edu>
Date: Sun, 22 Jan 2006 13:59:17 -0800
Message-Id: <200601222159.k0MLxHl9030008@ietf.cse.ucsc.edu>
To: w3c-dist-auth@w3.org

http://ietf.cse.ucsc.edu:8080/bugzilla/show_bug.cgi?id=53





------- Additional Comments From lisa@osafoundation.org  2006-01-22 13:59 -------
Did anybody consider another option?  What we have now:

    <!ELEMENT responsedescription (#PCDATA | error)* >
        means "any number of #PCDATA or error items"
        needs to be further limited with text

We could instead have error listed as occuring 0 or 1 times

    <!ELEMENT responsedescription (#PCDATA*, error?) >
        means "any number of #PCDATA items and zero or one error items"

Since order is defined not to matter in our use of DTDs, then presumably legal
XML contents for this element would include "text<error/>text" as well as
"text", "text<error/>" and "<error/>text" (with <error/> of course expanded out
and not empty).  I think that's what we want.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Received on Sunday, 22 January 2006 21:59:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:44:13 GMT