Re: Publishing area tree XML fails

Luca Bellonda <[email protected]>
Newsgroups gmane.text.xml.fop.user
Message-ID <CAK+9=OYcYfjoAp-1Szio0BhLcKNupCgbAb_6+L2OQCeJ8na2Lg@mail.gmail.com>
What about enabling it using an extra parameter like --enable-x  or
something similar?
Just a proposal.

Il giorno ven 30 giu 2023 alle ore 22:24 Simon Steiner <
[email protected]> ha scritto:

> Hi,
>
>
>
> I use it from the cmd line all the time to create tests, so I prefer we
> keep it.
>
>
>
> Thanks
>
>
>
> *From:* Luca Bellonda <[email protected]>
> *Sent:* 30 June 2023 21:18
> *To:* [email protected]
> *Subject:* Re: Publishing area tree XML fails
>
>
>
>
>
> Hello, may I suggest to consider removing the feature from user
> availability if it's not supposed to be used?
>
> Is a patch worth it?
>
>
>
> Regards
>
>
>
> Il giorno ven 30 giu 2023 alle ore 21:54 Simon Steiner <
> [email protected]> ha scritto:
>
> Hi,
>
>
>
> AT is maintained only for unit tests, its missing many features so
> shouldn’t be used by a end user.
>
>
>
> Thanks
>
>
>
> *From:* Mark Giffin <[email protected]>
> *Sent:* 30 June 2023 20:50
> *To:* [email protected]
> *Subject:* Re: Publishing area tree XML fails
>
>
>
> Thanks Dave, I'll keep this info in mind. In the meantime I have tried the
> FOP "intermediate format" (IF) instead of the area tree, and I find I can
> export that, change it, and then read it in and publish it with no problems.
>
> Mark
>
> On 6/27/2023 1:29 AM, Dave Roxburgh wrote:
>
> Hi Mark,
>
>
>
> It might help narrow down on the issue if you tried an alternative JDK -
> I'd suggest Temurin jdk-11
>
>
>
> It might also be a good time to update to the latest FOP version.
>
>
>
> I've tried what you're attempting to do on Temurin 11 / FOP main branch
> and I had no issues.
>
>
>
> Regards,
>
> Dave
> ------------------------------
>
> *From:* Mark Giffin <[email protected]> <[email protected]>
> *Sent:* 26 June 2023 07:57
> *To:* [email protected] <[email protected]>
> <[email protected]>
> *Subject:* Publishing area tree XML fails
>
>
>
> I'm using FOP 2.4 on ubuntu. I create an area tree XML file on the
> command line with this:
>
> fop -s topic.fo -at area_tree.xml
>
> This works fine. I plan to make some changes and read it in, then
> publish to PDF.
>
> I am trying to read it in and I don't know what to expect, or how to
> publish out to PDF. The docs do not go into this, that I can find. I get
> failure when I run the command below intended to produce a PDF called
> aaa.pdf:
>
> fop -atin area_tree.xml aaa.pdf
> [warning] /usr/bin/fop: JVM flavor 'sun' not understood
> [ERROR] FOP - Exception <org.apache.fop.apps.FOPException:
> java.util.EmptyStackException
> java.util.EmptyStackException>org.apache.fop.apps.FOPException:
> java.util.EmptyStackException
> java.util.EmptyStackException
>          at
> org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:296)
>          at
>
> org.apache.fop.cli.AreaTreeInputHandler.renderTo(AreaTreeInputHandler.java:75)
>          at org.apache.fop.cli.Main.startFOP(Main.java:183)
>          at org.apache.fop.cli.Main.main(Main.java:214)
> Caused by: java.util.EmptyStackException
>          at java.base/java.util.Stack.peek(Stack.java:102)
>          at
>
> org.apache.fop.area.AreaTreeParser$Handler.handleExternallyGeneratedObject(AreaTreeParser.java:1089)
> etc.
>
> Any ideas?
>
> Thanks,
> Mark
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.