Re: [xml-dev] Sun is forking SAX
by K. Ari Krupnikov other posts by this author
Jul 21 2003 5:04AM messages near this date
Re: [xml-dev] Sun is forking SAX
|
Re: [xml-dev] Sun is forking SAX
Elliotte Rusty Harold <elharo@[...].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.
-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org> , an
initiative of OASIS <http://www.oasis-open.org>
The list archives are at http://lists.xml.org/archives/xml-dev/
To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>
Thread:
Elliotte Rusty Harold
Jon Ellis
K. Ari Krupnikov
Elliotte Rusty Harold
Emmanuil Batsis (Manos)
K. Ari Krupnikov
Elliotte Rusty Harold
Elliotte Rusty Harold
Elliotte Rusty Harold
|