W3C home > Mailing lists > Public > public-sml@w3.org > February 2008

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

From: <bugzilla@wiggum.w3.org>
Date: Wed, 27 Feb 2008 16:27:33 +0000
To: public-sml@w3.org
Message-Id: <E1JUP81-0007qL-8Q@wiggum.w3.org>


           Summary: wrong type for schemaBinding/namespaceBinding/namespace
           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:list itemType="xs:anyURI"/>

As a result, valid namespace values, such as "urn:university" are not accepted
Received on Wednesday, 27 February 2008 16:27:40 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:56:09 UTC