W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2002

Re: Attribute Uses

From: Jeni Tennison <jeni@jenitennison.com>
Date: Fri, 7 Jun 2002 16:12:48 +0100
Message-ID: <1041642410641.20020607161248@jenitennison.com>
To: John Verhaeg <jverhaeg@metamatrix.com>
CC: xmlschema-dev@w3.org, ht@cogsci.ed.ac.uk

Hi John,

> I hadn't gotten to the Attribute Use Correct constraint yet, so now
> that you've pointed that out, everything makes a bit more sense. So
> just to verify, it now appears to me that XML Spy does indeed have a
> problem in that it allows you to both change the fixed value
> specified in a global declaration to another value, and it also
> allows you to specify a default value in a "use" when the
> declaration contains a fixed value. Does this sound correct?

Yes, I think so. If an attribute declaration has a fixed value
constraint, then a reference to that attribute declaration must either
not specify a value constraint at all or, if it does, it must be a
fixed value constraint with the same value.



Jeni Tennison
Received on Friday, 7 June 2002 11:12:50 UTC

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