2002 JI Open Discussion Posted August 18, 2006 Share Posted August 18, 2006 By: robert casson - rcasson JasperCompileManager Exception 2003-04-19 15:37 I get the following exception when attempting to compile a report: dori.jasper.engine.JRException: Feature: http://xml.org/sax/features/validation at dori.jasper.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:571) at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:342) at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:115) How do I resolve this? By: Ryan Johnson - delscovich RE: JasperCompileManager Exception 2003-04-19 21:37 It sounds like an invalid xml tag or attribute somewhere. If you use Netbeans, run the "validate xml" command (right-click popup) to get a more specific error. Ryan By: Teodor Danciu - teodord RE: JasperCompileManager Exception 2003-04-21 01:47 Hi, The XML parser you are using apparently does not support XML validation. You can turn XML validation off by using the "jasper.reports.compilation.xml.validation" system property like explained here: http://jasperreports.sourceforge.net/quick.how.to.html#compile I hope this helps. Teodor By: robert casson - rcasson RE: JasperCompileManager Exception 2003-04-21 11:51 Teodor, I am using the same xml library that you provide in the JasperReports download. It works fine in the downloaded project environment, but not when incorporated into Tomcat. Any guidance is appreciated. 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