Jump to content
We've recently updated our Privacy Statement, available here ×

mmcaulay

Members
  • Posts

    3
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Downloads

Posts posted by mmcaulay

  1. Hi, I have certain report units that fail with the message "java.lang.Exception: 1 - org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'jasperReport'.

    The reports that work use the DTD, the ones that don't use the new version with XSD.

    The reports run in iReport 3.1.2NB, just not on Jasper Server 3.0.

    Do you have any idea what causes this? I was wondering whether it was the namespace in the xml and it possibly not finding the xsd to validate. I've included the jasperReport tag out of the xml for reference.

    Thanks,

    Mark.

     

    Code:
    <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="bsc_duplicate_personal" pageWidth="595" pageHeight="842" columnWidth="535" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">	
×
×
  • Create New...