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

Re: SAX2(megginson.com) and XERCES (xml.apache.org)

  • From: "Simon St.Laurent" <simonstl@s...>
  • To: Sunny <sandeepsethi@e...>, xml-dev@x...
  • Date: Sun, 06 Aug 2000 13:58:11 -0400

sax2 download
At 01:36 PM 8/6/00 -0400, Sunny wrote:
>I guess I'm confused about the difference between the two -
>
>my understanding is that -
>Xerces is a parser that implements DOM2 and SAX2 specs - I can download a
>java version from xml.apache.org
>
>Then, what's the SAX2.zip download on megginson.com
>(http://www.megginson.com/SAX/Java/index.html) ?
>Is that just another parser ?

SAX2 defines an interface parsers can use to send information about XML
documents to applications.  The download at meggison.com includes the
interface definition and some helper code.  Xerces provides an
implementation of that interface.  

You should be able to replace Xerces with another SAX2-compliant parser and
not have to rewrite your code, if you stick to the SAX2 interfaces and
don't use Xerces-specific properties or features.

>Another question - about the SAX2 spec - SAX isn't a W3C initiative, right ?
>So did Megginson.com 'create' a sax spec - and apache.org implemented the
>spec in Xerces ?

David Megginson built SAX and SAX2 on his own initiative with lots of
contributions from various folks on the XML-Dev mailing list and other folks.

(We're all quite grateful, I think.)

Simon St.Laurent
XML Elements of Style / XML: A Primer, 2nd Ed.
http://www.simonstl.com - XML essays and books

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.