- From: <bugzilla@wiggum.w3.org>
- Date: Thu, 13 Sep 2007 19:57:50 +0000
- To: public-sml@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=5047 Summary: Content of "dataType" in the IF schema Product: SML Version: FPWD Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Interchange Format AssignedTo: cmsmcq@w3.org ReportedBy: sandygao@ca.ibm.com QAContact: public-sml@w3.org In Appendix A. SML-IF Schema, the content of "dataType" has <xs:sequence> <xs:any namespace="##other" processContents="skip" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> About minOccurs and maxOccurs attributes. There are a couple of questions. 1. Should "data" allow sub-elements for extension purposes? 2. Shouldn't there be exactly 1 non-extension sub-element? Depending on the answer to question #1, the content of "dataType" should be replaced with one of the following: (with extension points) <xs:sequence> <xs:any processContents="skip"/> <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> (without extension points) <xs:sequence> <xs:any processContents="skip"/> </xs:sequence> The "skip" wildcard corresponds to the document being included. It doesn't specify a namespace constraint because one may (however unlikely it is) want to package an IF document in another IF document.
Received on Thursday, 13 September 2007 19:57:53 UTC