W3C home > Mailing lists > Public > www-forms-editor@w3.org > February 2002

Definition of attributeGroup commonUIAttributes

From: Jérôme Nègre <jerome.negre@e-xmlmedia.fr>
Date: Wed, 13 Feb 2002 11:02:37 +0100
Message-ID: <015701c1b475$94720c00$630aa8c0@fischer>
To: <www-forms-editor@w3c.org>

in the last WD, the attributeGroup commonUIAttributes is defined as :

<xsd:attributeGroup name="commonUIAttributes">
    <xsd:attribute ref="xml:lang" type="xsd:language" use="optional"/>

But according to XML Schema Part 1 - §3.2.3, I think this should rather be :

<xsd:attributeGroup name="commonUIAttributes">
    <xsd:attribute ref="xml:lang" use="optional"/>

extract :

3.2.3 Constraints on XML Representations of Attribute Declarations
Schema Representation Constraint: Attribute Declaration Representation OK

In addition to the conditions imposed on <attribute> element information
items by the schema for schemas, all of the following must be true:
1 default and fixed must not both be present.
2 If default and use are both present, use must have the ·actual value·
3 If the item's parent is not <schema>, then all of the following must be
3.1 One of ref or name must be present, but not both.
3.2 If ref is present, then all of <simpleType>, form and type must be
absent.             <-----------------  it's here
4 type and <simpleType> must not both be present.
5 The corresponding attribute declaration must satisfy the conditions set
out in Constraints on Attribute Declaration Schema Components (§3.2.6).

Received on Wednesday, 13 February 2002 05:03:34 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:25:03 UTC