bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug xml/31303] New: SAXException: org.xml.sax.driver property needs to


From: overholt at redhat dot com
Subject: [Bug xml/31303] New: SAXException: org.xml.sax.driver property needs to be set?
Date: 21 Mar 2007 21:28:04 -0000

The following class gives no output with the Sun VM but gives this exception
with Fedora rawhide's gij (gij (GNU libgcj) version 4.1.2 20070317 (Red Hat
4.1.2-5)):

org.xml.sax.SAXException: Can't create default XMLReader; is system property
org.xml.sax.driver set?
   at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(libgcj.so.8rh)
   at TestXMLReader.main(TestXMLReader.java:9)

=======================================
import org.xml.sax.SAXException;
import org.xml.sax.XMLReader;
import org.xml.sax.helpers.XMLReaderFactory;

public class TestXMLReader {

        public static void main(String[] args) {
                try {
                        final XMLReader reader =
XMLReaderFactory.createXMLReader();
                } catch (SAXException e) {
                        e.printStackTrace();
                }
        }

}


-- 
           Summary: SAXException:  org.xml.sax.driver property needs to be
                    set?
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: xml
        AssignedTo: dog at gnu dot org
        ReportedBy: overholt at redhat dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31303





reply via email to

[Prev in Thread] Current Thread [Next in Thread]