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

Re: XML Schema 1.1 suggestion - allow defining of namespaces for named elements or attributes

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 18 Jun 2002 15:46:05 +0100
To: <asirv@webmethods.com>
Cc: <xmlschema-dev@w3.org>, "Lee Humphries" <Lee_Humphries@softworks.com.au>
Message-ID: <f5bptyosl02.fsf@cogsci.ed.ac.uk>

The functionality you require is available via the 'processContents'
attribute of wildcards (<any>).  Just make that 'strict', define
only the elements you mentioned in the relevant namespace, and import
those definitions.

Although under the circumstance, why you are using a wildcard at all
is not clear to me.  Have you read the relevant section of the XML
Schema Primer, namely Importing Types [1]?


[1] http://www.w3.org/TR/xmlschema-0/#import
  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 Tuesday, 18 June 2002 10:46:08 UTC

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