refactoring reports

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(
at org.apache.xerces.util.EntityResolverWrapper.resolveEntity(
at org.apache.xerces.impl.XMLEntityManager.resolveEntity(

The entity is declared as follows,

<!DOCTYPE jasperReport PUBLIC "-//JasperReports//DTD Report Design//EN" ""
[ <!ENTITY fonts SYSTEM "fonts.xml.include">
] >

and used as follows,

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


Using entities is not possible for the moment.
There is a proposed patch here:

Unfortunately, I had other priorities and not included
it in the library.
I'll schedule it for the next version.

Thank you,

By: Teodor Danciu - teodord
RE: refactoring reports
2002-11-06 13:53


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,
2006 IR Open Dicussion's picture
Joined: Aug 10 2006 - 3:24am
Last seen: 16 years 9 months ago

0 Answers:

No answers yet