OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   XML Schema and international Booleans

[ Lists Home | Date Index | Thread Index ]
  • From: "Anders W. Tell" <anderst@toolsmiths.se>
  • To: xml-dev@ic.ac.uk
  • Date: Wed, 10 Nov 1999 02:43:21 +0100

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@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@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS