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

vamsihari14

Members
  • Posts

    1
  • Joined

  • Last visited

vamsihari14's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. please find below region code column present in the sql server database. I have fetched regioncode from database and written to xml file using .net . when i try to generate the report by mapping this xml file with jrxml report. i am getting following erro <RegionCode> </RegionCode> net.sf.jasperreports.engine.JRException: net.sf.jasperreports.engine.JRException: Failed to parse the xml document. at com.jaspersoft.studio.editor.preview.view.control.ReportControler.fillReport(ReportControler.java:548) at com.jaspersoft.studio.editor.preview.view.control.ReportControler.access$20(ReportControler.java:523) at com.jaspersoft.studio.editor.preview.view.control.ReportControler$5.run(ReportControler.java:404) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Caused by: net.sf.jasperreports.engine.JRException: Failed to parse the xml document. at net.sf.jasperreports.engine.util.JRXmlUtils.parse(JRXmlUtils.java:77) at net.sf.jasperreports.engine.util.JRXmlUtils.parse(JRXmlUtils.java:166) at net.sf.jasperreports.data.xml.XmlDataAdapterService.loadDataDocument(XmlDataAdapterService.java:156) at net.sf.jasperreports.data.xml.XmlDataAdapterService.contributeParameters(XmlDataAdapterService.java:82) at net.sf.jasperreports.engine.fill.JRFillDataset.contributeParameters(JRFillDataset.java:1150) at net.sf.jasperreports.engine.fill.JRFillDataset.setParameterValues(JRFillDataset.java:662) at net.sf.jasperreports.engine.fill.BaseReportFiller.setParameters(BaseReportFiller.java:436) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:550) at net.sf.jasperreports.engine.fill.BaseFillHandle$ReportFill.run(BaseFillHandle.java:123) at java.lang.Thread.run(Unknown Source) Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 417; An invalid XML character (Unicode: 0x10) was found in the element content of the document. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at net.sf.jasperreports.engine.util.JRXmlUtils.parse(JRXmlUtils.java:73) ... 9 more
×
×
  • Create New...