- From: <bugzilla@wiggum.w3.org>
- Date: Sat, 11 Feb 2006 01:58:23 +0000
- To: www-xml-schema-comments@w3.org
- Cc:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=2861
Summary: RQ-38 Add co-constraints (coconstraints)
Product: XML Schema
Version: 1.1 only
Platform: Other
OS/Version: All
Status: NEW
Keywords: needsAgreement
Severity: normal
Priority: P2
Component: Structures: XSD Part 1
AssignedTo: ht@w3.org
ReportedBy: cmsmcq@w3.org
QAContact: www-xml-schema-comments@w3.org
Add the ability to define and enforce co-constraints on attribute
values, or on attribute values and sub-elements. For example, if
attribute a has value foo, the attribute b must have one of the values
fuzz, duz, or buzz; but if attribute a has value bar, the attribute b
must have one of the values car, far, or tar. Or: if attribute href
occurs, the element must be empty; if it does not occur, then it must
have type phrase-level-content.
See
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2000OctDec/0040.html:
LC-193 Response.
See
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0175.html:
R-7 in Errata List.
This issue was also formerly known as co-occurrence (RQ-27; removed)
Input from Straw Poll O-13
Opportunistic desideratum for 1.1: At our meeting in August 2002, some
members of the WG felt that co-constraints needed to be a requirement
for 1.1, others that the feature is too complex to design in the time
available and with the compatibility constraints agreed for 1.1. Some
WG members thought an 80/20 solution would be easy to specify, and
undertook to demonstrate this by doing so.
This item was abandoned in the meeting of 2004-03-25
(http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2004Mar/0133.html).
A request to reopen it was was received on 25 May from Fabio Vitali
(http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2004May/0066.html)
(member-only link), and the WG has informally agreed to do so. A
proposal from Paul Biron was received at the end of January 2006
(http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2006Jan/0137.html)
[member-only link]; there is also the work done by Fabio Vitale and
others (http://tesi.fabio.web.cs.unibo.it/schemapath).
Received on Saturday, 11 February 2006 01:58:30 UTC