Re: Attribute Uses

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.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/

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