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 < simonsteiner1...@gmail.com> 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 <m1...@earthlink.net> > *Sent:* 30 June 2023 20:50 > *To:* fop-users@xmlgraphics.apache.org > *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 <m1...@earthlink.net> <m1...@earthlink.net> > *Sent:* 26 June 2023 07:57 > *To:* fop-users@xmlgraphics.apache.org <fop-users@xmlgraphics.apache.org> > <fop-users@xmlgraphics.apache.org> > *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: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org > > >