- From: Henry S. Thompson <ht@inf.ed.ac.uk>
- Date: Tue, 27 Apr 2004 09:09:03 +0100
- To: "Michael Kay" <mhk@mhk.me.uk>
- Cc: <xmlschema-dev@w3.org>
"Michael Kay" <mhk@mhk.me.uk> writes:
> 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.
ht
--
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
Half-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
Received on Tuesday, 27 April 2004 04:09:49 UTC