W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2009

Re: Possible to restrict top-level xs:element names?

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Fri, 06 Nov 2009 19:35:27 +0000
To: kennardconsulting <richard@kennardconsulting.com>
Cc: xmlschema-dev@w3.org
Message-ID: <f5bocnfphts.fsf@hildegard.inf.ed.ac.uk>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The spec doesn't provide a mechanism by which a schema can constrain
the document element of schema-valid documents.

It _does_ provide license for conformant processors to do
schema-validity assessment with such a constraint in place [1].

Different processors allow users to invoke this kind of processing in
different ways -- what validator are you using?

ht

[1] http://www.w3.org/TR/xmlschema-1/#c-res
- -- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
                         Half-time member of W3C Team
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 651-1426, 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]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFK9Hp/kjnJixAXWBoRAkmzAJ4q7YYJ84l6UmdhZ+gdbrpNdEr9BwCeIxS/
EM49iXoq0GTVWxYb0Vv+bQI=
=muE/
-----END PGP SIGNATURE-----
Received on Friday, 6 November 2009 19:36:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:15 GMT