|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XML Schema and international Booleans
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@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@i... the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








