[ 
https://issues.apache.org/jira/browse/FOP-2610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15322561#comment-15322561
 ] 

Glenn Adams commented on FOP-2610:
----------------------------------

Ah, I see the problem. The extension 'xsl' is most often used for XSLT content 
[1], not XSL-FO content [2]. I assumed by your file name 'test.xsl' that you 
were giving us an XSLT file, but see that is not the case. We normally use the 
extension 'xml' or 'fo' with XSL-FO content to avoid confusion with XSLT files.

This is a relevant point because FOP can accept either XSL-FO input or a pair 
of files <XSLT, XML> as input, but we require the former for issue reports. I 
thought you were providing the latter, not the former. In any case, you have 
provided the necessary XSL-FO file for evaluation.

[1] https://www.w3.org/TR/xslt
[2] https://www.w3.org/TR/xsl11/



> XSL-FO - Center Text not working
> --------------------------------
>
>                 Key: FOP-2610
>                 URL: https://issues.apache.org/jira/browse/FOP-2610
>             Project: FOP
>          Issue Type: Bug
>            Reporter: atalante dev
>         Attachments: screenshot-1.png, test.xsl
>
>
> In my XSL-FO, I am having problems centering text as it breaks the 
> footnote-line2 into 2 sentences as opposed to going the full length of the 
> page and then breaking the sentence once it runs out of room. 
> You can see the attachments



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

Reply via email to