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] Fast text output from SAX?

[ Lists Home | Date Index | Thread Index ]

XmlSerializer looks very interesting, but in this case I specifically 
wanted to work with SAX2. It turns out the JAXP null transform gives 
very good performance with SAX2 input, so that's what I ended up using.

  - Dennis

Aleksander Slominski wrote:

>hi Dennis,
>
>did you look on XmlPull.XmlSerializer implementation in XPP3?
>
>it is very similar to SAX2 and was meant to give good performance ...
>
>thanks,
>
>alek
>
>Dennis Sosnoski wrote:
>
>  
>
>>Does anyone have a recommendation for a fast SAX2 handler (Java) that 
>>generates text XML output? I need something that's reasonably 
>>complete, including comments, CDATA sections, etc. Ideally it should 
>>also use the reported namespace prefix mappings (rather than making up 
>>its own prefixes) and should generate empty elements where appropriate.
>>
>>This is for running performance tests related to the binary XML 
>>thread. I've been using a modified version of David Megginson's 
>>XMLWriter for prior tests, but I don't think that's very optimized and 
>>I want to give text the best shot I can (without actually writing my 
>>own code for this...).
>>
>>Thanks for any suggestions,
>>
>> - Dennis
>>
>>    
>>
>
>
>  
>

-- 
Dennis M. Sosnoski
Enterprise Java, XML, and Web Services
Training and Consulting
http://www.sosnoski.com
Redmond, WA  425.885.7197






 

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

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