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

Re: JAXP and Java XML APIs (was RE: difference bet. xercesand

  • From: David Brownell <david-b@p...>
  • To: James Strachan <james_strachan@y...>, Xml-Dev <xml-dev@l...>
  • Date: Wed, 26 Sep 2001 11:50:35 -0700

java.xml.stream
> > > Also 'empty' transformers can be used so using JAXP its easy to stream
> > > SAX <-> text <-> DOM <-> dom4j <-> JDOM. i.e. JAXP can now
> > > be used to go from any XML representation to any other with or without
> > > a transformation in between.
> >
> > How's that done if I want to use a SAX event stream as my intermediate
> > format, rather than constantly transforming to text and back?
> 
> My understanding is most implementations use a SAX event stream as the
> intermediate format - not the text format of the XML.
> Any that don't should ;-)

Well and good, but that doesn't answer my question ... how is that
supposed to work? :)

"Source" and "Result" are those behavior-free types of class (wrapping one
URI each :) I dislike, and it looks like many of the other classes were all but
designed to write SAX out of the picture.  Example, there are clones of
SAXException, ErrorHandler and EntityResolver ... which seem to add no
value over the original interfaces.  And the SAX-specific classes strip out
most of the DTD information, as well as precluding "higher level" events
(interfaces reporting "widget" objects, and so forth), so they discard the
high-fidelity infoset reporting of SAX.

- Dave





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.