Re: Does freemarker support images?

Daniel Dekany <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
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?

-- 
Best regards,
 Daniel Dekany


------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.