W3C home > Mailing lists > Public > xmlschema-dev@w3.org > April 2004

RE: Fixed values with element-only content

From: Michael Kay <mhk@mhk.me.uk>
Date: Tue, 27 Apr 2004 10:59:52 +0100
To: "'Henry S. Thompson'" <ht@inf.ed.ac.uk>
Cc: <xmlschema-dev@w3.org>
Message-Id: <20040427100019.233DAA1BBA@frink.w3.org>

> > 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.


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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:05 UTC