Re: Should I use sax?
"David Megginson" <[email protected]> Mon, 22 May 2006 17:13:21 -0400
| Newsgroups | gmane.text.xml.sax.devel |
|---|---|
| Message-ID | <[email protected]> |
On 22/05/06, Michael Glavassevich <[email protected]> wrote: > If you're writing new code, I would avoid using Xerces' native > serializers. They are non-standard, not particularly well maintained and > likely to be deprecated [1] soon (perhaps in the next release). JAXP's > TransformerHandler [2] is a much better choice for serializing SAX events= . Speaking of new code, I should mention that another option is to use StAX instead of SAX. Like SAX, StAX is a streaming API, so in theory, it should be as efficient as SAX (I haven't run side-by-side tests). However, since StAX is a pull parser, it leaves you in control of the central loop instead of having to write event handlers. Here's an intro: http://www.xml.com/pub/a/2003/09/17/stax.html StAX also covers writing. Does anyone know how stable and efficient current StAX implementations are? All the best, David --=20 http://www.megginson.com/ ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ List: sax-devel, [email protected] See: http://www.saxproject.org/ https://lists.sourceforge.net/lists/listinfo/sax-devel