Hi,
After i unzip it and run that run me file, Open file menu and File Menu-Open quiz, adn load the xml file, I still get a blank screen. What shud i do...Did i miss anything?

Jai

Posted by Mikalai Zaikin on 03-27-2005 10:37 AM:

1. what does 'java -version' say ?
2. what is the console output?

regards,
MZ

Posted by Mikalai Zaikin on 03-27-2005 10:47 AM:

For those who has the following exception:

quote:
org.xml.sax.SAXException: System property org.xml.sax.driver not specified
at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source)
at mz.MagnetMocker$2.actionPerformed(MagnetMocker.java:160)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow
n Source)
at

org.xml.sax.SAXParseException: Relative URI "quiz.dtd"; can not be resolved with
out a base URI.
at org.apache.crimson.parser.Parser2.fatal(Unknown Source)
at org.apache.crimson.parser.Parser2.fatal(Unknown Source)
at org.apache.crimson.parser.Parser2.resolveURI(Unknown Source)
at org.apache.crimson.parser.Parser2.maybeExternalID(Unknown Source)

Posted by Mikalai Zaikin on 03-28-2005 09:10 AM:

You should define 'org.apache.xerces.parsers.SAXParser' as a SAX driver.

Posted by Mikalai Zaikin on 03-28-2005 09:22 AM:

Seems like you need to download Xerces library.

I have it bundled with my IBM JDK 1.4.0, but it maybe not the case for Sun's JRE.

Posted by Mikalai Zaikin on 03-28-2005 09:50 AM:

If you use JRE 5.0, then define SAX driver class as
'com.sun.org.apache.xerces.internal.parsers.SAXParser'

org.xml.sax.SAXException: System property org.xml.sax.driver not specified
at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source)
at mz.MagnetMocker$2.actionPerformed(MagnetMocker.java:168)

Posted by jai.wiz on 04-07-2005 04:17 AM:

Hi
The simple idea would be to uninstall the current JRE and install SUN JRE 5.0, in that case, you need not even set -Dorg.xml.sax.driver. It would work fine without specifying even that!

Jai

Posted by Mikalai Zaikin on 04-07-2005 11:08 AM:

Re: System property org.xml.sax.driver not specified

Sun's 1.4.0 JRE - You should define 'org.apache.xerces.parsers.SAXParser' as a SAX driver.