W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2004

Re: Problem with types derived from mixed complex types

From: Achille Fokoue <achille@us.ibm.com>
Date: Tue, 15 Jun 2004 17:34:42 -0400
To: xmlschema-dev@w3.org, ht@cogsci.ed.ac.uk
Cc: Tait E Larson <telarson@us.ibm.com>
Message-ID: <OFE772854E.E1955EB0-ON85256EB4.00751822-85256EB4.0076889C@us.ibm.com>

It seems that you have forgotten to add an erratum you mentioned in [1] to 
address the problem I reported in [2].
Without this erratum, the following schema is considered invalid because 
the spec simply ignores the "mixed" attribute of the 
complex type restr:

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:complexType name='base' mixed='true'>
            <xs:choice minOccurs='0' maxOccurs='unbounded'>
                  <xs:element name='e1' type='xs:string'/>
            <xs:attribute name='a1'/>
      <!-- the intend of  this type  is to simply remove all the children 
      <xs:complexType name='restr' mixed='true'>
                  <xs:restriction base='base'>
                        <xs:attribute name='a1'/>

Best regards,

[1] http://lists.w3.org/Archives/Public/xmlschema-dev/2003Jan/0029.html
[2] http://lists.w3.org/Archives/Public/xmlschema-dev/2003Jan/0028.html

Achille Fokoue
Scalable XML Infrastructure
IBM T.J. Watson Research Center
Received on Tuesday, 15 June 2004 17:36:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:22 UTC