FOP 0.20.5 and WORDML: Invalid Image URL

Here should go questions about transforming XML with XSLT and FOP.
Oz
Posts: 2
Joined: Thu Jul 20, 2006 5:49 pm

FOP 0.20.5 and WORDML: Invalid Image URL

Post by Oz »

Hi,
Using FOP 0.20.5 and the WORD2FO xsl files I want to convert a wordml document (.xml) into pdf. There is an image as binary data, that FOP doesn't understand and the result file doesn't contain the picture.
In the log, I can see the following message:

[ERROR] Error while creating area : Invalid Image URL - error on relative URL : unknown protocol: data

Searching in Google, I found the Jeremias Maerki solution, but it didn't solve the problem. I think this is because I'm using FOP 0.20.5 and not FOP 0.91.

How could I fix the problem in version 0.20.5?
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

You can install FOP 0.91 as an external FO processor in <oXygen/> from Options -> Preferences -> XML -> XSLT/FO/XQuery -> FO Processors and set it as the FO processor used in the transformation scenario edit dialog, the FO Processor tab. If FOP 0.91 issues the same error you should ask about it on the fop user mailing list.

Regards,
Sorin
Oz
Posts: 2
Joined: Thu Jul 20, 2006 5:49 pm

Post by Oz »

Hi Sorin,

Thanks for the answer. The only problem is that I'm not allowed to upgrade the FOP version, so I would really need to fix the problem in version 0.20.5.
Any help will be welcome.
Post Reply