Re: [XXE] Cannot convert DocBook to PDF using FOP when XXE v7.3 is deployed using Java Web Start

2017-03-10 Thread nobili, philippe
Are you sure this happens with ALL DocBook 4 documents Dear Mr. Shafie, Yes, absolutely. Even with tiniest DocBook document created from scratch. The same for DobBook-5.1. All other output formats work as previously (XXE-6.3), the only exception is PDF using FOP. As we guessed yesterday, the

Re: [XXE] Cannot convert DocBook to PDF using FOP when XXE v7.3 is deployed using Java Web Start

2017-03-10 Thread nobili, philippe
Dear Mr. Shafie, We finally figured out what seems to cause the problem with XXE-7.3/FOP, that we do not see with XXE-6.3. That was quite a struggle to find it... It is related, not to our DocBook layers per-se, but to the fact that they use a customized FOP addon, the purpose being to embed

Re: [XXE] Cannot convert DocBook to PDF using FOP when XXE v7.3 is deployed using Java Web Start

2017-03-10 Thread Hussein Shafie
On 03/10/2017 11:56 AM, nobili, philippe wrote: We finally figured out what seems to cause the problem with XXE-7.3/FOP, that we do not see with XXE-6.3. That was quite a struggle to find it... It is related, not to our DocBook layers per-se, but to the fact that they use a customized FOP ad

Re: [XXE] Cannot convert DocBook to PDF using FOP when XXE v7.3 is deployed using Java Web Start

2017-03-10 Thread nobili, philippe
Does it seem right, and if yes, would this fix the issue ? It seems that it doesn't, but indeed the problem is in the FOP configuration file, since we now get a completely different error from FOP...: "URI is not hierarchical" Whatever it means... In short, the way to write the FOP configura

Re: [XXE] Cannot convert DocBook to PDF using FOP when XXE v7.3 is deployed using Java Web Start

2017-03-10 Thread nobili, philippe
Seems to be related to: https://issues.apache.org/jira/browse/FOP-2600 Indeed, adding: ./ (not sure what was the rationale not having './' be the default BTW) does not work either. Philippe. [cggsigbanner] Philippe Nobili Subsurface Imaging - Product Engineering Tel: +33 16447 4090 | Mobile:

Re: [XXE] Cannot convert DocBook to PDF using FOP when XXE v7.3 is deployed using Java Web Start

2017-03-10 Thread nobili, philippe
May be now FOP 2.1 cannot resolve "fonts/dejavu-lgc/DejaVuLGCSans-Bold.ttf" against a "jar:/" base URL. This is exactly the conclusion we came to. I don't know which version of FOP you use in your custom FOP add-on We 100% rely on XXE's FOP, we do not deliver FOP itself. The only purpose

Re: [XXE] Cannot convert DocBook to PDF using FOP when XXE v7.3 is deployed using Java Web Start

2017-03-10 Thread Hussein Shafie
It seems that FOP public APIs related to the resolution of URLs/URIs have completely changed between v2 and v1. These new URI-based APIs are now much more flexible, but are no longer able to resolve a relative URI against a "jar:" base. Older, simpler, APIs were URL-based and "jar:" URLs were