teodord Posted September 17, 2008 Share Posted September 17, 2008 JasperReports 3.1.0 Change Log===================================- chart themes support to allow changing the overall appearance of charts generated with the build-in chart element;- deprecation of DTD based JRXML validation and introduction of XML schema based JRXML validation;- generic component support to allow extending the functionality of the JasperReports engine by plugging-in custom-made visual components that would take data as input and produce content that is embedded into the resulting documents;- support for generic print elements in generated documents to allow introducing custom exporter content;- introducing generic report design elements to simplify creation of custom exporter content, without implementing full-blown components;- extension support added in order to simplify configuring various JasperReports extension points such as chart themes and generic components;- new "labelFormat" and "legendLabelFormat" properties available for pie and pie 3D chart plots to allow controlling the labels for pie charts without need for chart customizer;- minor bug fixes and improvements; Link to comment Share on other sites More sharing options...
ge0ffrey Posted September 18, 2008 Share Posted September 18, 2008 Wil it, as well as the javaflow version be released on the central maven repository?More and more projects (spring, hibernate, seam, ...) are starting to release with high quality pom.xml files which makes our lives easier :) Link to comment Share on other sites More sharing options...
lucianc Posted September 18, 2008 Share Posted September 18, 2008 We only plan to upload the standard Jar version to the central Maven repository.Uploading the Javaflow version would not be that straighforward since at the moment there is no Javaflow artifact present in the Maven repository.Regards,Lucian Link to comment Share on other sites More sharing options...
domurtag Posted September 22, 2008 Share Posted September 22, 2008 Congrats on the new release. Are there instructions about how to switch reports from the DTD to the XSD? Are there any changes (apart from the declaration) that need to be made in order to use the new schema? Link to comment Share on other sites More sharing options...
lucianc Posted September 23, 2008 Share Posted September 23, 2008 The JRXML schema is backwards compatible with the old DTD, hence no changes other than removing the DTD declaration and adding the namespace and schema location attributes.Also note that this is not a mandatory operation, JRXMLs that refer the DTD would still work. However, it is recommended to switch to the new XML schema since all future JRXML changes will only be available in the schema.Regards,Lucian Link to comment Share on other sites More sharing options...
drallpradeep Posted September 25, 2008 Share Posted September 25, 2008 Sir, Presently we are working on JasperReport 2.0, Java 1.4, Oracle 10g Database and application Server / Tomcat 5.5. Can we use Jasper Report 3.1.0 in lieu of JasperReport 2.0. Are there any compatibility issue? Please confirm, after your confirmation we will work on new release. Could you please also suggest the new features of 3.1 which is not in Jasper report 2.0. Regards,Pradeep Link to comment Share on other sites More sharing options...
sateesh139 Posted September 25, 2008 Share Posted September 25, 2008 Hi Is there any way to add the VBA/Macros code into the Excel using jasper Report.Regards,Satish Link to comment Share on other sites More sharing options...
primozp Posted November 7, 2008 Share Posted November 7, 2008 In my case that is just not true. Unfortunatelly...I create report xml (jrxml) file dynamically in java application and that compile it. I also declare DTD in my jrxml file.I was using 3.0.1 version and it works fine, but with new 3.1.2 version it does not work anymore.I always get an exception:net.sf.jasperreports.engine.JRException: org.xml.sax.SAXException: http://java.sun.com/xml/jaxp/properties/schemaSource at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:243) at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:226) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:214) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:168)I also tried to remove DTD and add XSD schema tags, but it just does not help!So I have to move back to 3.0.1 version. I hope somebody will find the reason and help me to strat using new 3.1.2 version. Best regards, Primoz.Post Edited by Primoz Prislan at 11/07/08 10:25 Link to comment Share on other sites More sharing options...
primozp Posted November 7, 2008 Share Posted November 7, 2008 Same problem with 3.1.0 Regards, Primoz. Link to comment Share on other sites More sharing options...
lucianc Posted November 10, 2008 Share Posted November 10, 2008 primozpWrote: net.sf.jasperreports.engine.JRException: org.xml.sax.SAXException: http://java.sun.com/xml/jaxp/properties/schemaSource What XML parser are you using? Try including a Xerces jar on your application's classpath if it's not already there.Regards,Lucian Link to comment Share on other sites More sharing options...
primozp Posted November 10, 2008 Share Posted November 10, 2008 Currently I'm running application under BEA which has its own parser... I will try to change this...Caused by: org.xml.sax.SAXException: http://java.sun.com/xml/jaxp/properties/schemaSource at weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1203) at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135) at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:152) at org.apache.commons.digester.Digester.parse(Digester.java:1745) at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:239) Regards, Primoz Prislan. Link to comment Share on other sites More sharing options...
primozp Posted November 12, 2008 Share Posted November 12, 2008 Still same problem... HELP!!! Link to comment Share on other sites More sharing options...
lucianc Posted November 12, 2008 Share Posted November 12, 2008 primozpWrote: Still same problem... HELP!!! Same problem as in the application is still using the Weblogic XML parser, or same problem as in you get a similar exception from Xerces? Link to comment Share on other sites More sharing options...
campbell-ewald Posted July 10, 2009 Share Posted July 10, 2009 Do I need to have a special code to read the jrxml file properly?I have already included "xercesImpl-2.6.2" in my classpath.And I'm currently using "jasperreports-3.5.1.jar".By the way, here is the exception that I get:net.sf.jasperreports.engine.JRException: org.xml.sax.SAXException: http://java.sun.com/xml/jaxp/properties/schemaSource at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:243) at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:226) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:214) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:168) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:152) at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:89) Code: Post Edited by campbell-ewald at 07/10/2009 19:49 Link to comment Share on other sites More sharing options...
teodord Posted July 11, 2009 Author Share Posted July 11, 2009 Hi, You should probably not compile JRXML files at runtime, as explained in this FAQ here:http://jasperforge.org/uploads/publish/jasperreportswebsite/trunk/faq.html?group_id=252#FAQ22 So you should not try solve this problem at all. Reports can be compiled at application build time using an ANT taks, like show in the /demo/samples/antcompile sample provided with the JR project distribution package. I hope this helps.Teodor P.S. Please consider creating a new thread, when you have a problem like this, instead of adding to what is already a very long thread that has a subject which does not related to what you are asking. Post Edited by teodord at 07/11/2009 08:05 Link to comment Share on other sites More sharing options...
campbell-ewald Posted July 13, 2009 Share Posted July 13, 2009 Thanks Teodor!I'll look into building the jrxml file using ant scripts.But as a quick fix (and related to your suggestion), I just copied the ".jasper" (which was produced from iReport) file of my report and invoked JasperFillManager.fillReport to it.Is there an issue if I just deploy the ".jasper" file directly? Link to comment Share on other sites More sharing options...
teodord Posted July 13, 2009 Author Share Posted July 13, 2009 Hi, No, there is no issue. Deploying *.jasper file is actually the correct thing to do.That is what the FAQ says. Thanks,Teodor Link to comment Share on other sites More sharing options...
m8202 Posted July 29, 2009 Share Posted July 29, 2009 sateesh139Wrote: Hi Is there any way to add the VBA/Macros code into the Excel using jasper Report. Regards, Satish Hi SatishI have the same problem that you. Did you find any solution? Link to comment Share on other sites More sharing options...
teodord Posted July 30, 2009 Author Share Posted July 30, 2009 No, there is no way to include VBA/Macros in XLS files with JasperReports today.Please consider writing a feature request our project trackers here: http://jasperforge.org/projects/jasperreports/tracker Thank you,Teodor Link to comment Share on other sites More sharing options...
m8202 Posted July 30, 2009 Share Posted July 30, 2009 teodordWrote: No, there is no way to include VBA/Macros in XLS files with JasperReports today. Please consider writing a feature request our project trackers here: http://jasperforge.org/projects/jasperreports/tracker Thank you, Teodor And can I associate an excel template? or something similar? Link to comment Share on other sites More sharing options...
teodord Posted July 30, 2009 Author Share Posted July 30, 2009 Hi, JasperReports is not a library specialized in Excel manipulations. We rely on other libraries to do that.If you need advanced Excel functionality, please consider using POI or the JExcelApi libraries.Maybe you could add macros or templates using these libraries AFTER the report engine has done its thing. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
m8202 Posted July 31, 2009 Share Posted July 31, 2009 Thanks TeodordI'll try it. Link to comment Share on other sites More sharing options...
jainreshu11 Posted June 27, 2012 Share Posted June 27, 2012 I am using XercesImpl.jar and still getting the same error.Code:net.sf.jasperreports.engine.JRException: org.xml.sax.SAXException: http://java.sun.com/xml/jaxp/properties/schemaSourceat net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:243)at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:226)at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:214)at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:168)at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:152)at com.americanexpress.merchant.estmt.rptGenerate.common.DefaultDataLoader.loadEMEATemplates(DefaultDataLoader.java:175)at com.americanexpress.merchant.estmt.rptGenerate.jobs.EMEAOnDemandAnnualJob.processOnDemandMonthlySEBatch(EMEAOnDemandAnnualJob.java:86)at com.americanexpress.merchant.estmt.rptGenerate.jobs.EMEAOnDemandAnnualJob.main(EMEAOnDemandAnnualJob.java:52)Caused by: org.xml.sax.SAXException: http://java.sun.com/xml/jaxp/properties/schemaSourceat org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1197)at org.apache.commons.digester.Digester.parse(Digester.java:1647)at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:239)... 7 more 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