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

RE: UTF-8+names


RE:  UTF-8+names


Joern Clausen wrote:
> 
> Hi!
> 
> I think Simon St.Laurent's reply was the most useful up to now.
> 
> On Sun, Oct 19, 2003 at 03:36:25PM +0100, Bill de hÓra wrote:
> >  o know whether the current MathML/HTML4 sets are sufficient; ie
> > are we going to need to reversion this in couple of years to cater 
> > for ogham?
> 
> Of course they are not sufficient. They cover only a fragment 
> of characters defined by Unicode.
> 
> One possibility might be to use the names from the Unicode 
> code charts, like &hebrew-letter-yod; or &lao-letter-do;. 
> Think of them as ad-hoc entities, if you like.
> 
> Now, if entities only were allowed to have namespaces 
> assigned to them, then you could say
> 
> <foo xmlns:unc="some-uri-for-unicode">&unc:hebrew-letter-yod;</foo>
> 
> and they wouldn't collide with your own entities, as someone 
> already pointed out. 


I think this comes very close to what I said, that the problem should be
solved at the XML level, not at the encoding level.  Your proposal would
work with encoding="utf-8" and encoding="utf-16".  The knowledge of the
names and the ability to resolve them into characters would be attributed to
the XML processor rather than to a codec.  

Alessandro


> And XML parser could clearly state if 
> they support that namespace or not. Is there some rationale 
> why only elements and attributes have namespaces?
> 
> Of course, this solution won't save you much time for looking 
> names up when writing, maybe it helps when reading them in a 
> text. But all in all I don't see the point in the original 
> draft anyway...
> 
> -- 
>  Joern Clausen                                
> joern@T...
>  Faculty of Technology           
> http://www.TechFak.Uni-Bielefeld.DE/~joern/
>  University of 
> Bielefeld, Germany                        +49 (0)521/106-2494
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org 
> <http://www.xml.org>, an initiative of OASIS 
<http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>



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.