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

RE: Requirement for attributes with schema scope

From: Arnold, Curt <Curt.Arnold@hyprotech.com>
Date: Fri, 7 Jan 2000 08:12:02 -0700
Message-ID: <00E567D938B9D311ACEC00A0C9B468730C746E@THOR>
To: "'ht@cogsci.ed.ac.uk'" <ht@cogsci.ed.ac.uk>
Cc: "'xml-dev@ic.ac.uk'" <xml-dev@ic.ac.uk>, "'www-xml-schema-comments@w3.org'" <www-xml-schema-comments@w3.org>
Henry S. Thompson wrote

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

In the Dec draft, doesn't

<type>
...
	<anyAttribute>http://www.foo.com/namespace/foo<anyAttribute>
</type>

introduce attributes from other than the namespace partition scoped to the
containing element?

Are you saying that <anyAttribute> has been removed from subsequent WG
documents and the point is moot.

Another alternative would be to provide some indication that one attribute
group is the namespace scope attribute pool.  But you could not depending on
just finding "baz" in a top level attribute group since it could appear in
multiple top-level attribute groups.
Received on Friday, 7 January 2000 10:14:36 GMT

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