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

Re: Out of band attributes

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 07 Mar 2002 20:28:37 +0000
To: "Beyer,Nathan" <NBEYER@cerner.com>
Cc: "Schema Dev XML (E-mail)" <xmlschema-dev@w3.org>
Message-ID: <f5br8mw5dhm.fsf@cogsci.ed.ac.uk>
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.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2002, 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/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]
Received on Thursday, 7 March 2002 15:28:44 GMT

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