[Bug 5505] wrong type for schemaBinding/namespaceBinding/namespace attribute

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5505

           Summary: wrong type for schemaBinding/namespaceBinding/namespace
                    attribute
           Product: SML
           Version: LC
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Interchange Format
        AssignedTo: cmsmcq@w3.org
        ReportedBy: popescu@ca.ibm.com
         QAContact: public-sml@w3.org


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

Received on Wednesday, 27 February 2008 16:27:40 UTC