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

Re: Processing XML 1.1 documents with XML Schema 1.0 processor


Re:  Processing XML 1.1 documents with XML Schema 1.0 processor
On May 13, 2005, at 22:40, Robin Berjon wrote:

> Yes this may break software that is making stupid assumptions about 
> the content of certain tokens, but such software was written based on 
> a misunderstanding of text and deserves to break (and then to be shot 
> in the kneecaps, tied to a horse and dragged all around town, dipped 
> in boiling lead, dismembered piece by piece with a rusty spoon, and 
> finally dumped in a ditch to agonize).

> How can XML be the universal data format without the ability to handle 
> universal text?

I can't use spaces in element names. My mother tongue uses spaces. I am 
being oppressed!

Being able to carry content in any language and being able to use 
anything in element names are two totally different things. The first 
one is crucial. The latter is not. In fact, the world keeps turning 
with XHTML, DocBook, SVG, OOo XML, Atom etc. using English-based ASCII 
element names. The point is that the content can be in any language. I 
think i18n political correctness goes overboard when interoperability 
is sacrificed in order to change the characters allowed in 
programmer-visible identifiers.

My mother tongue is not ASCII-safe. It also isn't invariant under 
canonical decomposition. When I design and XML vocabulary, I use 
English-based ASCII element and attribute names. I don't want to ever 
spend a single minute debugging an app, because someone was being 
politically correct and used umlauts in element names and then the app 
expected the decomposed form but the document had them in the 
precomposed form (or vice versa).

BTW, is there any actual research about the demand for non-ASCII 
element names? XML 1.0 allows a large chunk of non-ASCII on element 
names. Is any real-world XML vocabulary actually exercising the freedom 
to go beyond ASCII in element and attribute names (except perhaps some 
vocabulary that is only used in Japan)?

-- 
Henri Sivonen
hsivonen@i...
http://hsivonen.iki.fi/


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.