W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2000

Re: Requirement for attributes with schema scope

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 07 Jan 2000 10:47:14 +0000
To: "Arnold, Curt" <Curt.Arnold@hyprotech.com>
Cc: xml-dev@ic.ac.uk, www-xml-schema-comments@w3.org
Message-ID: <f5bu2kqtaz1.fsf@cogsci.ed.ac.uk>
"Arnold, Curt" <Curt.Arnold@hyprotech.com> writes:

> [Comments on qualified attributes in instances, and a proposal for
>  top-level attribute declarations which can be 'ref'ed]

Something along these lines has been considered, and it's not out of
the question that it may happen.

For the time being, the only schema-valid way to introduce an
attribute from other than the namespace partition scoped to the
containing element is by way of an attribute GROUP from another
namespace, e.g.

   . . .
   <attributeGroup ref='foo:baz'/>

See the schema for schemas [1] for an example of how this is done, wrt


[1] http://www.w3.org/TR/xmlschema-1/#normative-schemaSchema
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
     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/
Received on Friday, 7 January 2000 05:47:18 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:46 UTC