Jump to content
Changes to the Jaspersoft community edition download ×

xml validation=true


Recommended Posts

By: Thomas Ludwig Kast - tomkast

xml validation=true

2006-07-11 16:20

hi -

 

jasper version 1.0.1, jdk 1.4.2

 

i am getting a failure on linux for my jrc task with xml validation=true (false, and the error goes away). i have xerces.jar and digester1.7 in the classpath... the report compiles fine on windows.

 

interesting possibly related bug is that jrc throws a log4j file not found (IO) error when it tries to open the log file, unless, i put a fully-qualified path to the log file...

 

i looked for a set working dir in the jrc task, but did not find one...

 

 

 

[jrc] Compiling 56 report design files.

[jrc] File : /opt/build/dev2/SabrixReports/main/packaging/reports/CompanyPreferences/sub_rpt04_ecs_part2.jrxml ... 2006-07-11 16:04:23,123 ERROR [org.apache.commons.digester.Digester] - <Digester.getParser: >

[jrc] org.xml.sax.SAXNotRecognizedException: Feature: http://apache.org/xml/features/validation/dynamic

[jrc] at org.apache.crimson.parser.XMLReaderImpl.setFeature(XMLReaderImpl.java:219)

[jrc] at org.apache.crimson.jaxp.SAXParserImpl.setFeatures(SAXParserImpl.java:150)

[jrc] at org.apache.crimson.jaxp.SAXParserImpl.<init>(SAXParserImpl.java:133)

[jrc] at org.apache.crimson.jaxp.SAXParserFactoryImpl.newSAXParserImpl(SAXParserFactoryImpl.java:113)

[jrc] at org.apache.crimson.jaxp.SAXParserFactoryImpl.setFeature(SAXParserFactoryImpl.java:141)

[jrc] at org.apache.commons.digester.parser.XercesParser.configureXerces(XercesParser.java:185)

[jrc] at org.apache.commons.digester.parser.XercesParser.newSAXParser(XercesParser.java:138)

[jrc] at org.apache.commons.digester.ParserFeatureSetterFactory.newSAXParser(ParserFeatureSetterFactory.java:71)

[jrc] at org.apache.commons.digester.Digester.getParser(Digester.java:692)

[jrc] at org.apache.commons.digester.Digester.getXMLReader(Digester.java:899)

[jrc] at org.apache.commons.digester.Digester.parse(Digester.java:1647)

[jrc] at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:236)

[jrc] at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:223)

[jrc] at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:211)

[jrc] at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:165)

[jrc] at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:149)

[jrc] at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:107)

[jrc] at net.sf.jasperreports.ant.JRAntCompileTask.compile(JRAntCompileTask.java:398)

[jrc] at net.sf.jasperreports.ant.JRAntCompileTask.execute(JRAntCompileTask.java:252)

[jrc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

[jrc] at org.apache.tools.ant.Task.perform(Task.java:364)

[jrc] at org.apache.tools.ant.Target.execute(Target.java:341)

[jrc] at org.apache.tools.ant.Target.performTasks(Target.java:369)

[jrc] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)

[jrc] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)

[jrc] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)

[jrc] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)

[jrc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

[jrc] at org.apache.tools.ant.Task.perform(Task.java:364)

[jrc] at org.apache.tools.ant.Target.execute(Target.java:341)

[jrc] at org.apache.tools.ant.Target.performTasks(Target.java:369)

[jrc] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)

[jrc] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)

[jrc] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)

[jrc] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)

[jrc] at org.apache.tools.ant.Main.runBuild(Main.java:668)

[jrc] at org.apache.tools.ant.Main.startAnt(Main.java:187)

[jrc] at org.apache.tools.ant.Main.start(Main.java:150)

[jrc] at org.apache.tools.ant.Main.main(Main.java:240)

 

 

thanks,

 

tom

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...