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

RE: UTF-8+names


utf
> >There are substantial communities - remarkably unrepresented here on
> >xml-dev - who have been complaining vociferously because 
> neither W3C XML 
> >Schemas nor RelaxNG shows any sign of addressing the entity 
> problem, and 
> >they claim they really need them, mostly for this problem of naming 
> >characters.

Trying to summarize the objections that people are raising, it is that
using a very similar mechanism at two different stages of processing
will work quite happily a lot of the time, but will be extremely
confusing in corner cases and when things go wrong, because it will be
even less clear to users what is actually going on. We already have
enough trouble explaining to users that entities are expanded at XML
parsing time and not an XSLT transformation time, explaining that they
might also be expanded at octet-stream decoding time is not going to be
much fun.

I think the most confusing aspect of it is the coupling to UTF-8. Users
who need this facility are most likely using text editors that work in
iso-8859-1. They want to be able to use this facility without disabling
the characters that actually appear on their keyboards, such as "£" (in
the UK) and "äöü" (in Germany).

This macro expansion should be something that happens after character
decoding and before XML parsing. Java got it right (in this respect)
with \uuuu. 

Michael Kay


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.