International booleans proposal (con't)

Oops, pressed wrong key which prematurely send last message.  To follow

Examples of use:

Swedish-only boolean 

<datatype name="swedishOnlyBoolean">
	<basetype name="boolean"/>
	<enumeration>
		<literal value="true">sant</literal>
		<literal value="false">falskt</literal>
	</enumeration>
</datatype>

--------------

Swedish and default boolean.  Accepts true and false in additional to
explicitly enumerated values since enumeration is open and true and false
are legal values for base type.

<datatype name="swedishSupportingBoolean">
	<basetype name="boolean"/>
	<enumeration model="open">
		<literal value="true">sant</literal>
		<literal value="false">falskt</literal>
	</enumeration>
</datatype>


--------------------------

Swedish, default, and 0/1 boolean

<datatype name="multiBoolean">
	<basetype name="boolean"/>
	<enumeration model="open">
		<literal value="true">sant</literal>
		<literal value="false">falskt</literal>
		<literal value="true">1</literal>
		<literal value="false">0</literal>
	</enumeration>
</datatype>

-----------------------

Numeric data type with symbolic names

<datatype name="symReal">
	<basetype name="real"/>
	<enumeration model="open">
		<literal value="3.1415926">pi</literal>
		<literal value="2.718">e</literal>
	</enumeration>
</datatype>

Received on Monday, 15 November 1999 14:03:22 UTC