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

Re: Fixed attribute in attributeGroup

From: Eddie Robertsson <eddie@allette.com.au>
Date: Wed, 29 Aug 2001 09:36:51 +1000
Message-ID: <3B8C2B13.BFC8FB19@allette.com.au>
To: Henna Ilvonen <hilvonen@lut.fi>
CC: xmlschema-dev@w3.org
Hi Henna,

It seems you're using a schema validator that can't handle the latest version
of W3C XML Schema. Have a look at [1] for a list of validators that work with
the Rec version.


[1] http://www.w3.org/XML/Schema#Tools

Henna Ilvonen wrote:

>  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 Tuesday, 28 August 2001 19:37:38 UTC

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