XML Schema and international Booleans
Anders W. Tell
anderst at toolsmiths.se
Wed Nov 10 11:18:57 GMT 1999
Hi All
While reading XML Schema part 2: Datatypes, looking the boolean data
type
I found this statement:
"An instance of a datatype that is defined as boolean can have the
following legal lexical values {true, false}. The
lexical representation is fixed and cannot be changed. The lexical
representation facet is not supported."
Does this mean that I cannot create sub types of boolean which allows
other languages than English?
This is neccesary because in Swedish "true"="sant" and "false"="falskt"
What I want to use is something like...
<datatype name="myBoolean">
<basetype name="boolean"/>
<enumeration>
<literal> 0 </literal>
<literal> 1 </literal>
<literal> sant </literal>
<literal> falskt </literal>
<literal> true </literal>
<literal> false </literal>
</enumeration>
</datatype>
However here the binding between literal and boolean value is missing.
Im I missing something here ?
/Anders
--
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
/ Financial Toolsmiths AB /
/ Anders W. Tell /
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list