Jump to content

dtd for jrxml files ?


tgutgu

Recommended Posts

Hi,

 

iReport writes the following url for the dtd in the jrxml source file:

 

http://jasperreports.sourceforge.net/dtds/jasperreport.dtd

 

However, it seems that this url is not found (my IDE, IntelliJ, could not fetch the resource and typing in the browser was not successful either).

 

Could somebody reveal the actual url of the dtd and could iReport be fixed so that the correct url is written?

 

Kind regards

 

Thomas Gülden

Munich, Germany

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

The URL in the DOCTYPE declaration is not actually a URL, but a URI. That means it has to be unique, but it doesn't actually have to point to something. The actual URI to DTD mapping happens at runtime. In the case of JasperReports the actuall DTD is stored in the JasperReports jar. (If you look in the jar its /net/sf/jasperreports/engine/dtds/jasperreport.dtd)

 

-Barry

Link to comment
Share on other sites

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