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_i...
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
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_i...
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
0 Answers:
No answers yet