re PR xml/31303 (SAXException: org.xml.sax.driver property needs to be set?)

PR classpath/31303:
	* external/sax/org/xml/sax/helpers/XMLReaderFactory.java
	(createXMLReader): Code in Classpath default.

From-SVN: r123267
This commit is contained in:
Tom Tromey 2007-03-27 19:29:54 +00:00 committed by Tom Tromey
parent fd6a66a10a
commit 17e50382cc
3 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2007-03-27 Tom Tromey <tromey@redhat.com>
PR classpath/31303:
* external/sax/org/xml/sax/helpers/XMLReaderFactory.java
(createXMLReader): Code in Classpath default.
2007-03-27 Keith Seitz <keiths@redhat.com>
Merged from upstream:

View file

@ -137,6 +137,11 @@ final public class XMLReaderFactory
if (className == null) {
// BEGIN DISTRIBUTION-SPECIFIC
// CLASSPATH LOCAL: have to code in the backup.
// Among other things, see PR 31303, and this thread:
// http://gcc.gnu.org/ml/java-patches/2007-q1/msg00661.html
className = "gnu.xml.stream.SAXParser";
// EXAMPLE:
// className = "com.example.sax.XmlReader";
// or a $JAVA_HOME/jre/lib/*properties setting...