Jump to content
Changes to the Jaspersoft community edition download ×

Using default SAXParser with JDK1.4

Recommended Posts

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,










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.


<jar href="xerces.jar" />

<property name="org.xml.sax.driver" value="org.apache.xerces.parsers.SAXParser"/>






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




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:




Thank you,


Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...