W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2001

Fixed attribute in attributeGroup

From: Henna Ilvonen <hilvonen@lut.fi>
Date: Mon, 20 Aug 2001 03:18:38 -0400 (EDT)
To: <xmlschema-dev@w3.org>
Message-ID: <Pine.LNX.4.33.0108201013350.28705-100000@maa3.cc.lut.fi>
 When validating schema with attributeGroup like:

<xsd:attributeGroup name="numbers">
  <xsd:attribute name="one" type="xsd:positiveInteger" fixed="1"/>
  <xsd:attribute name="two" type="xsd:positiveInteger" fixed="2"/>

validator gives error message "Invalid attribute "fixed" for element
"attribute"".  According to schema recommendation this should however be
right? My parser insints on using http://www.w3.org/1999/XMLSchema-version
of schema for schemas, so could this cause the fixed-attribute to be

Received on Wednesday, 22 August 2001 05:27:02 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:52 UTC