[Bug 5263] Errors in the S4SD

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

           Summary: Errors in the S4SD
           Product: XML Schema
           Version: 1.1 only
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Structures: XSD Part 1
        AssignedTo: cmsmcq@w3.org
        ReportedBy: mike@saxonica.com
         QAContact: www-xml-schema-comments@w3.org


In the schema for schema documents published as Appendix A, there are three
references to types that are missing the xs: prefix.

(a) in

  <xs:complexType name="assertion">
    <xs:complexContent>
      <xs:extension base="xs:annotated">       
        <xs:attribute name="test" type="string"/>
        <xs:attribute name="xpathDefaultNamespace"
type="xs:xpathDefaultNamespace"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>

the first attribute should have type="xs:string"

(b) in 

  <xs:complexType name="altType">
    <xs:annotation>
      <xs:documentation>
        This type is used for 'alternative' elements.
      </xs:documentation>
    </xs:annotation>
    <xs:complexContent>
      <xs:extension base="xs:annotated">
        <xs:choice minOccurs="0">
          <xs:element ref="xs:simpleType"/>
          <xs:element ref="xs:complexType"/>
        </xs:choice>
        <xs:attribute name="test" type="string" use="optional"/>
        <xs:attribute name="type" type="QName" use="optional"/>
        <xs:attribute name="xpathDefaultNamespace"
type="xs:xpathDefaultNamespace"/>
        <xs:attribute name="id" type="xs:ID"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>

the first two attributes should have type xs:string and xs:QName respectively.

Received on Monday, 12 November 2007 10:34:13 UTC