[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: xs:any vs. xs:element ref for including external schemas

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Fri, 08 Jun 2007 11:46:03 +0100
To: "Pete Cordell" <petexmldev@tech-know-ware.com>
Cc: <xmlschema-dev@w3.org>
Message-ID: <f5bejkm911w.fsf@hildegard.inf.ed.ac.uk>
Re: xs:any vs. xs:element ref for including external schemas

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pete Cordell writes:

> The downside of the latter is that it implies to me that the XHTML is
> very much a part of the containing schema, whereas the xs:any method
> implies to me that the containing schema is more of an envelope
> (e.g. there is some layering going on).
>
> Am I alone in inferring this, or do others read this sort of thing
> into their schemas?

I don't know about 'alone', but I guess I don't interpret <any> vs
<element ref=[foreign elt]> in the way you do -- either one can be for
integrating locally-controlled vocabularies or for allowing foreign
vocabularies to 'plug in' -- the difference is signalled for me by the
namespace, not the schema mechanism used to allow it.

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]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFGaTNrkjnJixAXWBoRAsFrAJ4ns9KTvdYejqQ+nIupSHQQfmyngACffgfm
4J+54Em7NFZ3WD3We9W1Bmk=
=eyBX
-----END PGP SIGNATURE-----
Received on Friday, 8 June 2007 10:46:06 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.