DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22449>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22449 Can't instantiate ParserAdapter Summary: Can't instantiate ParserAdapter Product: Xerces2-J Version: 2.5.0 Platform: PC OS/Version: Other Status: NEW Severity: Blocker Priority: Other Component: SAX AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] If have created a class that begins: public class WorldLoaderV1 extends DefaultHandler { private ParserAdapter parser; The constructor begins as follows: public WorldLoaderV1(World world, JLoaderFrame loader) throws SAXException { parser = new ParserAdapter (); When that first line of the constructor is executed, I get a SAXException with the following message: System propery org.xml.sax.parser not specified. I read the documentation which explains that I will get this error if the mentioned property is not set. I then peered at the supplied samples which use all DEPRECATED stuff and hardly helped at all. All I got from the sample was that the system propert (org.xml.sax.parser) should be set to "org.apache.xerces.parsers.SAXParser". But of course I can't call setProperty because I can't construct the object! Please help?? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
