W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2002

Re: Out of band attributes

From: Jeni Tennison <jeni@jenitennison.com>
Date: Fri, 8 Mar 2002 10:09:49 +0000
Message-ID: <55260418141.20020308100949@jenitennison.com>
To: "Schema Dev XML (E-mail)" <xmlschema-dev@w3.org>
CC: "Beyer,Nathan" <NBEYER@cerner.com>, ht@cogsci.ed.ac.uk ((Henry S. Thompson))
Henry Thompson wrote:
> Declare it at the top level, and either derive _all_ your complex
> types from a single type with either an optional ref to that global
> attr, or an <anyAttribute processContents='strict'
> namspace='##targetNamespace'/>.  The latter has the advantage that you
> can add _another_ such optional attr by simply declaring it.

...but the disadvantage that you have to remember to include it
whenever you derive types by restriction.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/
Received on Friday, 8 March 2002 05:09:50 GMT

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