Hello all,

            I have recently downloaded IReport-0.4.1 and I tried to write a report file using it.

Report was compiled successfully by IReport, but hten when I run it using jasper, I got following exception

 

org.xml.sax.SAXParseException: Element type "property" must be declared.
    [java]     at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
    [java]     at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
    [java]     at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    [java]     at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    [java]     at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source)
    [java]     at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
    [java]     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
    [java]     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    [java]     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    [java]     at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
    [java]     at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
    [java]     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    [java]     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    [java]     at org.apache.commons.digester.Digester.parse(Digester.java:1514)
    [java]     at dori.jasper.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:387)
    [java]     at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:371)
    [java]     at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:339)
    [java]     at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:323

 

 

Report is attached to this mail..

 

looks like maybe there’s some problem with DTD?    Or, which version of jasper is compatible with IReport0.4.1?

 

Anyone can help me?

 

Thanx in advance and regards

            marco