Fixed attribute in attributeGroup

 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 UTC