[Home] [By Thread] [By Date] [Recent Entries]

  • To: XML DEV <xml-dev@l...>
  • Subject: Fast text output from SAX?
  • From: Dennis Sosnoski <dms@s...>
  • Date: Mon, 12 Apr 2004 17:41:04 -0700
  • User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312

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



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member