Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 275 by
dseg...@dset-solutions.com: Problem processing the docx as
Velocity Template
http://code.google.com/p/xdocreport/issues/detail?id=275
What steps will reproduce the problem?
1.Take the attached docx file
2.Try to parse it
3. Will throw exception
What is the expected output? What do you see instead?
org.apache.velocity.exception.ParseErrorException: Lexical error,
Encountered: "\u00bb" (187), after : "" at
fr.opensagres.xdocreport.document.docx.DocxReport@5c57a5e9!word/document.xml[line
1, column 25219]
at org.apache.velocity.Template.process(Template.java:151)
at
org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceManagerImpl.java:437)
at
org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(ResourceManagerImpl.java:352)
at
org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533)
at
org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:392)
at
fr.opensagres.xdocreport.template.velocity.internal.VelocityTemplateEngine.processWithCache(VelocityTemplateEngine.java:96)
at
fr.opensagres.xdocreport.template.AbstractTemplateEngine.process(AbstractTemplateEngine.java:111)
at
fr.opensagres.xdocreport.template.AbstractTemplateEngine.process(AbstractTemplateEngine.java:83)
at
fr.opensagres.xdocreport.document.AbstractXDocReport.processTemplateEngine(AbstractXDocReport.java:772)
at
fr.opensagres.xdocreport.document.AbstractXDocReport.process(AbstractXDocReport.java:518)
at
fr.opensagres.xdocreport.document.AbstractXDocReport.process(AbstractXDocReport.java:484)
at com.dset.greenleaf.report.GLReportDocx.generate(GLReportDocx.java:102)
What version of the product are you using? On what operating system?
1.0.2 on Linux
Please provide any additional information below.
Word generated with Microsoft Word 2010 Version: 14.0.6023.1000 (32bits)
Attachments:
ReportPolissaCat.docx 44.8 KB
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings