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"/>
 </xsd:attributeGroup>

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
invalid?

 Henna
Received on Wednesday, 22 August 2001 05:27:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:23 GMT