Re: [Sax-devel] Default behavior of no-args XMLReaderFactory.createXMLReader() method
Brought to you by:
dmegginson
From: David B. <da...@pa...> - 2001-10-29 19:34:59
|
> The current no-args XMLReaderFactory.createXMLReader() method fails if > the org.xml.sax.driver system property isn't set. Parser vendors are > suposed to replace this method with one of their own that returns a > known XMLReader class, but few do. That'd be a bug in the parser distro, yes? And the text doesn't say "replace"; there's some additional behavior now defined. http://sax.sourceforge.net/apidoc/org/xml/sax/helpers/XMLReaderFactory.html#createXMLReader() > I propose a change to the code for > this method in the default distribution that searches through a list of > known parser classes in orderuntil it finds one What's wrong about expecting parser distros to do their jobs? I think that having the default distro "pick winners" is wrong. - Dave |