This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The type for schemaBinding/namespaceBinding/ namespace attribute should be xs:anyURI ( or smlif:uriType ) since its value represent a schema document's targetNamespace value. It is currently set to "xs:NCName" <xs:element name="namespaceBinding" type="smlif:namespaceBindingType"/> <xs:complexType name="namespaceBindingType" mixed="false"> <xs:attribute name="namespace" type="xs:NCName" use="optional"/> <xs:attribute name="aliases" use="required"> <xs:simpleType> <xs:list itemType="xs:anyURI"/> </xs:simpleType> </xs:attribute> </xs:complexType> As a result, valid namespace values, such as "urn:university" are not accepted
The namespace type should actually be xs:anyURI ( cannot be smlif:anyType as I commented in the defect description ). In this case namespace is an attribute, not an element so it can't have a complex type.
resolution (3/6 conf call): add a comment to clarify that aliases are for documents, mark it editorial and fixed per comment #1
Fixed per comment #2. Schema changed from: -------- <xs:complexType name="namespaceBindingType" mixed="false"> <xs:attribute name="namespace" type="xs:NCName" use="optional"/> <xs:attribute name="aliases" use="required"> <xs:simpleType> <xs:list itemType="xs:anyURI"/> </xs:simpleType> </xs:attribute> <xs:anyAttribute namespace="##other" processContents="lax"/> </xs:complexType> --------- To: --------- <!-- The value of the aliases attribute in the complexType below is a list of instance document URIs --> <xs:complexType name="namespaceBindingType" mixed="false"> <xs:attribute name="namespace" type="xs:anyURI" use="optional"/> <xs:attribute name="aliases" use="required"> <xs:simpleType> <xs:list itemType="xs:anyURI"/> </xs:simpleType> </xs:attribute> <xs:anyAttribute namespace="##other" processContents="lax"/> </xs:complexType> ---------
+1