Re: Does freemarker support images?
Shervin Asgari <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Sure, no problem. I can try to attach it here. As far as I can see it seems like adding an image produces an 'xlink:href' part in content.xml that links to the image and freemarker for some reason tries to parse it as xml. But I am not sure. The problem could very well be in my application. Shervin Daniel Dekany wrote: > Tuesday, May 12, 2009, 10:53:45 AM, Shervin Asgari wrote: > > >> Hello. >> >> I am using JODReports <http://jodreports.sourceforge.net/> >> which is using Freemarker. I have an ODF template files and the template >> file has an image. However I get freemarker exception: >> >> Token manager error: freemarker.core.TokenMgrError: Lexical error at >> line 157, column 81. Encountered: "\u0004" (4), after : "" in >> Pictures/100000000000011B000001AFCD845EED.jpg >> >> Can someone clarify please? >> > > Um... the thing is, there should be nothing special with inserting an > image; it's just done with plain XML tags like anything else in ODF. > But something seems to confuse the FreeMarker parser around the place > where the image happens to be... Could send the template attached? Or > if that's not possible, could you produce a minimal template that > reproduces the problem and send it attached? > > ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ FreeMarker-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freemarker-user
mal-generell-bilde.odt
(application/vnd.oasis.opendocument.text, 66 KB) - not displayed