re PR xml/31303 (SAXException: org.xml.sax.driver property needs to be set?)
authorTom Tromey <tromey@redhat.com>
Tue, 27 Mar 2007 19:29:54 +0000 (19:29 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Tue, 27 Mar 2007 19:29:54 +0000 (19:29 +0000)
PR classpath/31303:
* external/sax/org/xml/sax/helpers/XMLReaderFactory.java
(createXMLReader): Code in Classpath default.

From-SVN: r123267

libjava/classpath/ChangeLog
libjava/classpath/external/sax/org/xml/sax/helpers/XMLReaderFactory.java
libjava/classpath/lib/org/xml/sax/helpers/XMLReaderFactory.class

index 305ac4f2314b5f66ba40d6203b5311d12dd68e53..7c1e39103a2590af87acac883b214deead55cbc9 100644 (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:
index 0516ff24e7156f56dcfc14d94972ffd86d17821d..304f750b9cc9cf227a4e0a3f08cf89f5347dabc4 100644 (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...
index 25c986c9b9179564ff9871e4d5fff829fa65f6f4..9992ef2119d33b47e0b4f494bcdefe2729503a80 100644 (file)
Binary files a/libjava/classpath/lib/org/xml/sax/helpers/XMLReaderFactory.class and b/libjava/classpath/lib/org/xml/sax/helpers/XMLReaderFactory.class differ