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.

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

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

ht

[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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:46 GMT