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] Internal entities removed from XML?

[ Lists Home | Date Index | Thread Index ]

Rich Salz wrote:
>> Only benchmarking/profiling can tell
> 
> 
> It's hard to beat this:

Not that hard I'd say given that an XML processor has to recognize 
'quot' and 'apos' and 'gt'.


>         if ((*buff++ = *src++) == '&')
>         {
               switch *buff
               {
               case 'a':
                   // nother if here
               case 'q':
                   // insert code
               case 'l':
                   // insert code
               case 'g':
                   // insert code
               }








 

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

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