SVGZ image breaks PDF transformation with fix external refs

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Frank Ralf
Posts: 482
Joined: Thu Jan 23, 2014 2:29 pm
Location: Hamburg
Contact:

SVGZ image breaks PDF transformation with fix external refs

Post by Frank Ralf »

Hi,

There have been some reported problems with fix.external.refs.com.oxygenxml. I've stumbled across another one: A SVGZ image (exported from Visio 2010) breaks our (customized) PDF transformation with the following error message:

Code: Select all


[fop] [ERROR] Anttask - Error rendering fo file: topic.fo <org.apache.fop.apps.FOPException  
I suspect it has something to do with our customization but wanted to report it anyway, just in case.

Frank
Frank Ralf
parson AG
www.parson-europe.com
Radu
Posts: 9449
Joined: Fri Jul 09, 2004 5:18 pm

Re: SVGZ image breaks PDF transformation with fix external r

Post by Radu »

Hi Frank,

You are right, we managed to reproduce and investigate the issue on our side.
There is a bug in the library the PDF processor uses to load the SVG, bug which is activated by our fix external refs parameter.
I added a bug to that specific library's bugs list:

https://issues.apache.org/jira/browse/XGC-92

I think I could try to create a patch JAR library for this. So if you want a fix please contact us directly to "support@oxygenxml.com" and we'll try to provide a patch.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Frank Ralf
Posts: 482
Joined: Thu Jan 23, 2014 2:29 pm
Location: Hamburg
Contact:

Re: SVGZ image breaks PDF transformation with fix external r

Post by Frank Ralf »

Hi Radu,

Thanks for your kind offer, but it's not that urgent. We just changed the file to a normal SVG one. There was no real need to use the SVGZ format in our case.

Kind regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com
Radu
Posts: 9449
Joined: Fri Jul 09, 2004 5:18 pm

Re: SVGZ image breaks PDF transformation with fix external r

Post by Radu »

Hi,

Just to update this thread, the issue reported above (SVGZ referenced in DITA content + the fix.external.refs.com.oxygenxml set) should work when publishing from inside Oxygen.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Frank Ralf
Posts: 482
Joined: Thu Jan 23, 2014 2:29 pm
Location: Hamburg
Contact:

Re: SVGZ image breaks PDF transformation with fix external r

Post by Frank Ralf »

Thanks for the update, Radu.

Frank
Frank Ralf
parson AG
www.parson-europe.com
Post Reply