[jira] [Updated] (FOP-2672) Image Include needs different file path syntax depending on Windows OS version

2016-12-05 Thread Hendrik Intveen (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hendrik Intveen updated FOP-2672:
-
Description: 
fop 2.1 needs different file paths to render an image correctly to the pdf 
output. The image is in the same folder as the .fo-file

I've attached two versions of .fo-files. One is working on windows 7, the other 
one on windows 2008 R2


I've also posted the problem to stack overflow:

http://stackoverflow.com/questions/40914980/fop-image-include-needs-different-syntax-depending-on-windows-os-version-win-7


  was:
fop 2.1 needs different file paths to render an image correctly to the pdf 
output. The image is in the same folder as the .fo-file

This Version works with Windows 7 but not with Windows 2008 R2:

{quote}
http://www.w3.org/1999/XSL/Format";>

{quote}

This works with Windows 2008 R2 but not with Windows 7:


{quote}
http://www.w3.org/1999/XSL/Format";>

{quote}


I've also posted the problem to stack overflow:

http://stackoverflow.com/questions/40914980/fop-image-include-needs-different-syntax-depending-on-windows-os-version-win-7



> Image Include needs different file path syntax depending on Windows OS version
> --
>
> Key: FOP-2672
> URL: https://issues.apache.org/jira/browse/FOP-2672
> Project: FOP
>  Issue Type: Bug
>  Components: image/png
>Affects Versions: 2.1
> Environment: Windows 7 and Windows 2008 R2
>Reporter: Hendrik Intveen
> Attachments: 1999061012_1_01.png, win2008.fo, win7.fo
>
>
> fop 2.1 needs different file paths to render an image correctly to the pdf 
> output. The image is in the same folder as the .fo-file
> I've attached two versions of .fo-files. One is working on windows 7, the 
> other one on windows 2008 R2
> I've also posted the problem to stack overflow:
> http://stackoverflow.com/questions/40914980/fop-image-include-needs-different-syntax-depending-on-windows-os-version-win-7



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (FOP-2672) Image Include needs different file path syntax depending on Windows OS version

2016-12-05 Thread Hendrik Intveen (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hendrik Intveen updated FOP-2672:
-
Attachment: win2008.fo
win7.fo
1999061012_1_01.png

fo-files and image to include

> Image Include needs different file path syntax depending on Windows OS version
> --
>
> Key: FOP-2672
> URL: https://issues.apache.org/jira/browse/FOP-2672
> Project: FOP
>  Issue Type: Bug
>  Components: image/png
>Affects Versions: 2.1
> Environment: Windows 7 and Windows 2008 R2
>Reporter: Hendrik Intveen
> Attachments: 1999061012_1_01.png, win2008.fo, win7.fo
>
>
> fop 2.1 needs different file paths to render an image correctly to the pdf 
> output. The image is in the same folder as the .fo-file
> This Version works with Windows 7 but not with Windows 2008 R2:
> {quote}
>  xmlns:fo="http://www.w3.org/1999/XSL/Format";>  master-name="baseside" margin="10mm 10mm 10mm 10mm" page-width="210mm" 
> page-height="297mm"> extent="15mm" region-name="header"/> extent="20mm" region-name="foot"/> extent="17.8mm" region-name="left"/> reference-orientation="270" extent="6mm" 
> region-name="right"/>  master-reference="baseside"> text-align="center"> content-width="scale-to-fit" content-height="100%" width="100%" 
> src="image.png"/>
> {quote}
> This works with Windows 2008 R2 but not with Windows 7:
> {quote}
>  xmlns:fo="http://www.w3.org/1999/XSL/Format";>  master-name="baseside" margin="10mm 10mm 10mm 10mm" page-width="210mm" 
> page-height="297mm"> extent="15mm" region-name="header"/> extent="20mm" region-name="foot"/> extent="17.8mm" region-name="left"/> reference-orientation="270" extent="6mm" 
> region-name="right"/>  master-reference="baseside"> text-align="center"> content-width="scale-to-fit" content-height="100%" width="100%" 
> src="file:///image.png"/>
> {quote}
> I've also posted the problem to stack overflow:
> http://stackoverflow.com/questions/40914980/fop-image-include-needs-different-syntax-depending-on-windows-os-version-win-7



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)