W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2001

Re: Validity Rule - Where does Element's {abstract} appear?

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 15 Feb 2001 09:08:49 +0000
To: Michael Anderson <michael@research.canon.com.au>
Cc: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Message-ID: <f5blmr8mhy6.fsf@cogsci.ed.ac.uk>
Michael Anderson <michael@research.canon.com.au> writes:

<snip/>

> Actually, the reason I was not looking there was because I was trying to
> validate a document element against an Element Declaration which was abstract.
> As the document element never appears in an element sequence, the test for
> {abstract}( must be false ) is never tested.

Good catch -- we'll have to fix that.

> <details>

<snip/>

> </details>

> So am I (again :~) missing some rule that causes the {abstract} test
> to apply to the document element?  If so, are there any other rules
> that apply specifically to the document element?

No, you've found a hole (two, actually) -- thanks.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
Received on Thursday, 15 February 2001 04:08:56 UTC

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