I keep getting: org.xml.sax.SAXParseException: The content of element type "jasperReport" must match "(property*,import*,reportFont*,style*,subDataset*,parameter*,queryString?,field*,variable*,group*,background?,title?,pageHeader?,columnHeader?,detail?,columnFooter?,pageFooter?,lastPageFooter?,summary?)". both using jasperreports-1.2.3.jar & jasperreports-1.3.2.jar. Is there a way to find exactly which element(s) I'm missing for the template to be valid..? This is my minimal template: Code: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE jasperReport PUBLIC "-//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd"> <jasperReport name="myjr"> <queryString> <![CDATA[select name, chr, sal, street, city from pappat]]> </queryString> <field class="java.lang.String" name="name"/> <field class="java.lang.String" name="chr"/> <field class="java.lang.String" name="sal"/> <field class="java.lang.String" name="street"/> <field class="java.lang.String" name="city"/> <title> <band height="50"> <staticText> <reportElement height="15" width="180" y="0" x="0"/> <textElement/> <text> This is a title </text> </staticText> </band> </title> <pageHeader> <band/> </pageHeader> <columnHeader> <band height="20"> <staticText> <reportElement height="20" width="180" y="0" x="180"/> <textElement> <font isUnderline="true"/> </textElement> <text> <![CDATA[name]]> </text> </staticText> </band> </columnHeader> <columnHeader> <band height="20"> <staticText> <reportElement height="20" width="180" y="0" x="180"/> <textElement> <font isUnderline="true"/> </textElement> <text> <![CDATA[chr]]> </text> </staticText> </band> </columnHeader> <columnHeader> <band height="20"> <staticText> <reportElement height="20" width="180" y="0" x="180"/> <textElement> <font isUnderline="true"/> </textElement> <text> <![CDATA[sal]]> </text> </staticText> </band> </columnHeader> <columnHeader> <band height="20"> <staticText> <reportElement height="20" width="180" y="0" x="180"/> <textElement> <font isUnderline="true"/> </textElement> <text> <![CDATA[street]]> </text> </staticText> </band> </columnHeader> <columnHeader> <band height="20"> <staticText> <reportElement height="20" width="180" y="0" x="180"/> <textElement> <font isUnderline="true"/> </textElement> <text> <![CDATA[city]]> </text> </staticText> </band> </columnHeader> <detail> <band height="20"> <textField> <reportElement height="15" width="180" y="0" x="180"/> <textElement/> <textFieldExpression> <![CDATA[$F{name}]]> </textFieldExpression> </textField> <textField> <reportElement height="15" width="180" y="0" x="180"/> <textElement/> <textFieldExpression> <![CDATA[$F{chr}]]> </textFieldExpression> </textField> <textField> <reportElement height="15" width="180" y="0" x="180"/> <textElement/> <textFieldExpression> <![CDATA[$F{sal}]]> </textFieldExpression> </textField> <textField> <reportElement height="15" width="180" y="0" x="180"/> <textElement/> <textFieldExpression> <![CDATA[$F{street}]]> </textFieldExpression> </textField> <textField> <reportElement height="15" width="180" y="0" x="180"/> <textElement/> <textFieldExpression> <![CDATA[$F{city}]]> </textFieldExpression> </textField> </band> </detail> <columnFooter> <band/> </columnFooter> <pageFooter> <band/> </pageFooter> </jasperReport>