[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

XML Schema and international Booleans

  • From: "Anders W. Tell" <anderst@t...>
  • To: xml-dev@i...
  • Date: Wed, 10 Nov 1999 02:43:21 +0100

reading xml schema
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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.