This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In section 4.1 Packaging, the pseudo-schema has: <schemaBindings> ? <defaultSchema> ? <namespaceBinding/> * </defaultSchema> <schemaBinding> * <namespaceBinding/> * <documentAlias/> + </schemaBinding> </schemaBindings> Which means that each <schemaBinding> can have any number (including 0) of <namespaceBinding> elements, and have at least one <documentAlias>. But in Appendix A. SML-IF Schema: <xs:complexType name="schemaBindingType" mixed="false"> <xs:sequence> <xs:element ref="smlif:namespaceBinding"/> <xs:element name="documentAlias" type="smlif:uriType" minOccurs="0" maxOccurs="unbounded"/> <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:anyAttribute namespace="##other" processContents="lax"/> </xs:complexType> Note that the reference to "namespaceBinding" has no min/maxOccurs specified, and minOccurs=0 is specified on "documentAlias". So obviously 4.1 and appendix A don't agree. What's intended? I think both <namespaceBinding> and <documentAlias> should be '*', that is minOccurs=0, maxOccurs=unbounded. For <namespaceBinding>, because a schema can have more than one namespaces, we can't limit the number of <namespaceBinding> to exactly 1. For <documentAlias>, allowing minOccurs=0 means that the producer can write <schemaBindings> <schemaBinding> <namespaceBinding namespace="ns" aliases="v1.xsd"/> </schemaBinding> <schemaBinding> <namespaceBinding namespace="ns" aliases="v2.xsd"/> </schemaBinding> </schemaBindings> That is, they can group schema documents in meaningful ways (e.g for different versions) without having to specify instance documents. This is useful when only schema documents are transmitted in the IF package.
Resolution in 8/7 call both <namespaceBinding> and <documentAlias> should be '*', that is minOccurs=0, maxOccurs=unbounded." Pseudo-schema and normative schema must be changed to agree with this proposal.
Fixed per comment #1.