2006 IR Open Discussion Posted August 18, 2006 Share Posted August 18, 2006 By: Mark Clarke - mxc4 Using default SAXParser with JDK1.4 2003-04-08 22:44 Hi all, Is it possible to use the default SAXParser that comes with jdk 1.4 rather than having to set the parser property explicitly? I have exen tried setting the parser property to javax.xml.parsers.SAXParser but it didn't work. I am having significant problems with the sax parser and java web start where it cannot find the parser. I was hoping that using the default parser would overcome this, Tia Mark By: Mark Clarke - mxc4 RE: Using default SAXParser with JDK1.4 2003-04-08 23:23 The complete error message that I get in Java Web Start is SAX 2 driver class org.apache.xerces.parsers.SAXParser not found. I have tried to setting the following in the jnlp file. <resources> <jar href="xerces.jar" /> <property name="org.xml.sax.driver" value="org.apache.xerces.parsers.SAXParser"/> </resources> By: Julie Bé²µbé orlibou RE: Using default SAXParser with JDK1.4 2003-05-09 08:28 Do you have find a solution? By: Teodor Danciu - teodord RE: Using default SAXParser with JDK1.4 2003-05-09 09:15 Hi, Starting with the 0.4.6 version, the "org.xml.sax.driver" system property is not used anymore. So, if you place a SAX 2.0 parser in your classpath it will be automatically used by JasperReports. With JDK1.4, there is already JAXP available in the classpath and everything should work. But you need to apply this patch to the 0.4.6 version before trying to use it with JAXP: https://sourceforge.net/tracker/index.php?func=detail&aid=733882&group_id=36382&atid=416705 Thank you, Teodor Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now