OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] A heavier-weight proposal for character entity definition

[ Lists Home | Date Index | Thread Index ]

James Clark wrote:

> Interesting.  Those are compelling use cases but this significantly 
> complicates things.  In particular, automatically using entities on 
> output becomes much more complicated.  Instead of a simple hash table 
> that maps character codes to entities, you have to have a trie.  I also 
> see a slippery slope opening up here:


Indeed.  In practice, it seems that giving characters names creates very
few problems, while general-purpose macros of zero arguments (aka
entities) are very expensive.  Maybe there's an 80/20 point for math
and the rest of the special-character-intensive communities with
some form of single-character-replacement.  -Tim





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS