Re: Fixed attribute in attributeGroup

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.

Cheers,
/Eddie

[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