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

keyRefs

From: Michael McCaleb <mccaleb@eeel.nist.gov>
Date: Fri, 15 Dec 2000 17:02:03 -0500
Message-Id: <v02130501b66045357c2c@[129.6.185.17]>
To: www-xml-schema-comments@w3.org
Dear XML Schema editor,

Comment:
I know that the key and kefRef elements augment XML's ID/IDREF mechanism.
However, does key and kefRef also augment XML's IDREFS mechanism? For
example, does key and keyRef support the below data population?

<color colorName="red"    r="255"  g="0"    b="0"/>
<color colorName="green"  r="0"    g="255"  b="0"/>
<color colorName="blue"   r="0"    g="0"    b="255"/>
<color colorName="purple" r="255"  g="0"    b="255"/>


<PersonList>
 <Person name="Mike" favoriteColors="red blue green"/>
 <Person name="Jeni" favoriteColors="blue purple"/>
 <Person name="Curt" favoriteColors="green"/>
 <Person name="John" favoriteColors="blue purple green"/>
</PersonList>

If not, I believe it would be an improvement if this ability where added to
the XML Schema specification.

If it already does, please check to see if the current documentation
clearly indicates this ability?


Sincerely,

Mike McCaleb
Received on Friday, 15 December 2000 17:00:45 GMT

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