OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Sun is forking SAX

[ Lists Home | Date Index | Thread Index ]

Elliotte Rusty Harold <elharo@metalab.unc.edu> writes:

> *   Sun is using the confusing, underspecified SAXParser and
> SAXParserFactory instead of the much cleaner, better specified
> XMLReader and XMLReaderFactory.
> 
> * Sun has removed the ContentHandler interface and replaced it with
> the DefaultHandler adapter class.

I agree that these are poor interfaces, but aren't these the ones that
the "full-size", j2SE JAXP specifies?

http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/parsers/package-frame.html
http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/parsers/SAXParser.html

I think these APIs were a mistake to start with, and I never used
them directly - I always getXMLReader() and go from there.

This said, do you think it's a good idea to introduce
incompatibilities between Java platforms at the cost of better
interfaces in some of them? And then, is ME the right place to start?

Ari.




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS