- From: <bugzilla@wiggum.w3.org>
- Date: Sat, 13 Jun 2009 20:19:02 +0000
- To: www-xml-schema-comments@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6982 --- Comment #1 from Sandy Gao <sandygao@ca.ibm.com> 2009-06-13 20:19:02 --- They are already disallowed. In Appendix A "Schema for Schema Documents (Structures) (normative)": <xs:element name="openContent" id="openContent"> ... <xs:complexType> <xs:complexContent> <xs:extension base="xs:annotated"> <xs:sequence> <xs:element name="any" minOccurs="0" type="xs:wildcard"/> </xs:sequence> Here type "wildcard" doesn't allow min/maxOccurs. To allow them on normal wildcards: <xs:element name="any" id="any"> ... <xs:complexType> <xs:complexContent> <xs:extension base="xs:wildcard"> <xs:attribute name="notQName" type="xs:qnameList" use="optional"/> <xs:attributeGroup ref="xs:occurs"/> P.S. this also means that "notQName" is not allowed on <any> in open content. I do not recall why that's the case. -- Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Saturday, 13 June 2009 20:19:09 UTC