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.



Jeni Tennison
Received on Friday, 8 March 2002 05:09:50 UTC

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