RE: Fixed values with element-only content

> 
> > Am I right in thinking that if a non-empty fixed value is 
> defined for an
> > element with element-only content, then (a) the schema is valid
> 
> No -- this is ruled out in clause 2 of Schema Component Constraint:
> Element Declaration Properties Correct, which, via Schema Component
> Constraint: Element Default Valid (Immediate) requires simple or
> emptiable mixed content for the type of the element.

Thanks. 

It would be helpful if SCC Element Default Valid (Immediate) made it clear
that it applies to the fixed value as well as the default value.

Michael Kay

Received on Tuesday, 27 April 2004 06:00:19 UTC