[
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.
|