aaa_aaa Posted May 14, 2010 Share Posted May 14, 2010 i have application where i'm using xml publisher and thereforce i have such jar file included xmlparserv2-904.jarthen i write several reports in jasper and it works fine when there not included xmlparserv2-904.jarbut when i include xmlparserv2-904.jar in my app jasper not workingthis problem is on tomcat serverhow can i do that both reports can runing anyone can help me?Post Edited by iraklijasper at 05/14/2010 11:40 Link to comment Share on other sites More sharing options...
lucianc Posted May 18, 2010 Share Posted May 18, 2010 JR will use the default SAX parser as returned by http://java.sun.com/javase/6/docs/api/javax/xml/parsers/SAXParserFactory.html#newInstance()I'm not sure what xmlparserv2-904.jar, but I assume it contains a SAX parser implementation which doesn't support the features required by JR. We recommend Xerces, but JR doesn't use it if it's not the default SAX parser. Log a bug or feature request for this if you think JR should automatically handle such cases. You can also look into extending net.sf.jasperreports.engine.xml.JRReportSaxParserFactory to force it to use Xerces instead of the default parser.Regards,Lucian Link to comment Share on other sites More sharing options...
aaa_aaa Posted May 20, 2010 Author Share Posted May 20, 2010 there is sylfean.jar witch i generaged from sylfean font file problem is in this class when i remove it everithing is ok 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