W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2007

[Bug 5263] Errors in the S4SD

From: <bugzilla@wiggum.w3.org>
Date: Mon, 12 Nov 2007 10:34:07 +0000
CC:
To: www-xml-schema-comments@w3.org
Message-Id: <E1IrWcJ-00017F-UH@wiggum.w3.org>

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:07 UTC