[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Java SAX tools (was: Re: Adding standalone="yes" to XMLdocumen


java sax writer
Uche Ogbuji wrote:
> Yes.  SAX2's LexicalHandler includes a "standalone" flag, so if one uses SAX 
> as an *output* format you should have control over that declaration.  My 
> mistake (I wasn't thinking broadly enough, even though I've used SAX for 
> output a air bit before).
> 
> So I guess the solution might indeed be for the OP to switch to a Java SAX 
> writer.  Might be more efficient, too.

Which brings me to a slightly mundane question: since a SAX XML writer doesn't 
appear to be part of Java's core XML support, which one is most recommended and 
is it complete? Everytime I use Java's XML tools I find the lack of a central 
place to go for software extremely painful (to say the least). Also, no one 
seems to be providing simple and small SAX filters that perform just one task 
well, or automatic context handling, or a lightweight SAX pipeline manager (as 
opposed to something that does too much more than one needs and by that consumes 
too much developer memory to use). And despite sporadic mention, as of a few 
months ago I could see no trace of work on a JAXP equivalent for the final 
handler side.

To summarize, is it just me not having found the right places, or does Java have 
nothing between the rudimentary stuff and the high-level (schema-based data 
binding, etc) stuff? If so, why? Since most of the docs out there seem stuck on 
SAX 1 stuff despite the availability of SAX 2, I suspect there are hidden levels 
but I was never really good at those games ;)

-- 
Robin Berjon <robin.berjon@e...>
Research Engineer, Expway        http://expway.fr/
7FC0 6F5F D864 EFB8 08CE  8E74 58E6 D5DB 4889 2488


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.