2006 IR Open Dicussion Posted August 16, 2006 Share Posted August 16, 2006 By: Peter Lappo - peterlappo refactoring reports 2002-11-05 06:50 Some of my reports have common elements e.g. fonts. I've tried using XML entities but get an exception as follows, org.xml.sax.SAXException: Unknown system ID : fonts.xml.include at dori.jasper.engine.xml.JRXmlDigester.resolveEntity(JRXmlDigester.java:137) at org.apache.xerces.util.EntityResolverWrapper.resolveEntity(EntityResolverWrapper.java:141) at org.apache.xerces.impl.XMLEntityManager.resolveEntity(XMLEntityManager.java:513) The entity is declared as follows, <!DOCTYPE jasperReport PUBLIC "-//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd" [ <!ENTITY fonts SYSTEM "fonts.xml.include"> ] > and used as follows, &fonts; I'm using jasperreports-0.4.0 with jdk1.3.1_03 Have I got the right syntax? By: Teodor Danciu - teodord RE: refactoring reports 2002-11-05 12:48 Hi, Using entities is not possible for the moment. There is a proposed patch here: https://sourceforge.net/tracker/index.php?func=detail&aid=570849&group_id=36382&atid=416705 Unfortunately, I had other priorities and not included it in the library. I'll schedule it for the next version. Thank you, Teodor By: Teodor Danciu - teodord RE: refactoring reports 2002-11-06 13:53 Hi, This is now possible if you get the version found on the CVS repository at sourceforge. It will be part of future versions. Thank you, Teodor 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