W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 1999

Datatypes: literal should have value attribute

From: Arnold, Curt <Curt.Arnold@hyprotech.com>
Date: Thu, 1 Jul 1999 14:15:18 -0600
Message-ID: <61DAD58E8F4ED211AC8400A0C9B468731AADF0@THOR>
To: "'www-xml-schema-comments@w3.org'" <www-xml-schema-comments@w3.org>
The literal element should have a value attribute that allows the user to
specify an integer used to represent the literal when using a datatype
sensitive parser.  Multiple literal elements in an enumeration should be
able to have the same integer value.

<datatype name="multilingualBoolean">
     <enumeration>
	<literal value="0">false</literal>
	<literal value="0">non</literal>
	<literal value="0">nien</literal>
	<literal value="1">true</literal>
	<literal value="1">oui</literal>
	<literal value="1">ya</literal>
     <enumeration>
</datatype>
Received on Thursday, 1 July 1999 16:51:16 GMT

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