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

=?utf-8?B?WE1MIFNjaGVtYeKAmXMgZGVjaXNpb24gdG8gYWxsb3cgb25seSBFdXJvcGVh?=

  • From: Roger L Costello <costello@mitre.org>
  • To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
  • Date: Thu, 17 Dec 2020 16:00:58 +0000

=?utf-8?B?WE1MIFNjaGVtYeKAmXMgZGVjaXNpb24gdG8gYWxsb3cgb25seSBFdXJvcGVh?=

Hi Folks,

The XML Schema specification says that numbers (integers, decimals, etc.) must exclusively use the European digits (0-9):

[number] has a lexical representation consisting of a finite-length sequence of decimal digits (#x30-#x39)

That is a narrow world view.

Interestingly, the XML Schema specification says that element names can use characters from languages throughout the world:

{name}

An NCName as defined by [XML-Namespaces].

That is a universal world view.

So, if a Bengali-speaking person wants to create XML documents in his native language, he can create elements like this (the tag name shown is the Bengali word for Number_Students):

              <সংখ্যা_ছাত্র>…</সংখ্যা_ছাত্র>

And he can validate his XML instance against an XML Schema to confirm that it is using the correct element names.

Great!

But ………… he cannot use the Bengali digits in the instance document because XML Schemas only allows European digits.

So, the XML Schema designers embraced the XML vision of universality as far as element names are concerned, but then adopted a restricted world view for numbers.

Given that many people use XML in combination with XML Schema, the decision to allow only European digits dramatically reduces the universality of XML. That is a sad thing, is it not?

/Roger



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.