Subject: [Bug 53] DAV:responsedescription content model

From: [email-masked]
Date: Sun, 22 Jan 2006 13:59:17 -0800

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

------- Additional Comments From [email-masked]  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.