- From: <bugzilla@wiggum.w3.org>
- Date: Wed, 28 Nov 2007 17:38:05 +0000
- To: public-sml@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=5294 Summary: Add an explanation on why the smlif:dataType has processContents=skip Product: SML Version: LC Platform: PC OS/Version: Windows XP Status: NEW Keywords: hasProposal Severity: normal Priority: P2 Component: Interchange Format AssignedTo: cmsmcq@w3.org ReportedBy: popescu@ca.ibm.com QAContact: public-sml@w3.org As part of the resolution for defect http://www.w3.org/Bugs/Public/show_bug.cgi?id=4775, the processContents for the smlif:dataType has been changed from lax to skip. Since this change had some not so obvious reasons, I propose to have the spec explain this approach. Proposal : Add this comment to the sml-if.xsd schema, under the dataType type <xs:complexType name="dataType" mixed="false"> <xs:annotation> <xs:documentation> The wildcard with processContents "skip" matches the root element of the model document being packaged. The value of processContents is set to "skip" so that the contained element is not attempted for schema validation. As a result, validity of the packaged document will not affect validity of the IF document itself. </xs:documentation> </xs:annotation> <xs:sequence> <xs:any processContents="skip" minOccurs="0"/> </xs:sequence> </xs:complexType>
Received on Wednesday, 28 November 2007 17:38:15 UTC