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

Joao Goncalves commented on FOP-3222:
-------------------------------------

[~martin.leit...@infinica.com] 
Hi, your config is missing a renderer element for the if format. I added the 
following to your conf:
{code:java}
<renderer mime="application/X-fop-intermediate-format">
    <version>1.5</version>
    <filterList>
        <value>flate</value>
    </filterList>
    <fonts>
        <auto-detect>true</auto-detect>
    </fonts>
</renderer> {code}
This fixed the issue.

> creating intermediate format with accessibility=true results in 
> non-well-formed XML
> -----------------------------------------------------------------------------------
>
>                 Key: FOP-3222
>                 URL: https://issues.apache.org/jira/browse/FOP-3222
>             Project: FOP
>          Issue Type: Bug
>          Components: unqualified
>    Affects Versions: 2.10
>            Reporter: Martin Leitner
>            Priority: Major
>         Attachments: fop_config.xml, test.fo, test.if.xml
>
>
> Generating intermediate format with the attached config file fop_config.xml 
> and the attached input file test.fo produces the attached output file 
> test.if.xml.
> The output file is not a well-formed XML, as it uses the fo: namespace prefix 
> without declaring it.
> Rendering directly to PDF/UA works just fine.
> I am using FOP 2.10 embedded in Java code.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to