"Stylesheet directed termination" means that the stylesheet you're using does a: <xsl:message terminate="yes">blah blah</xsl:message>
That causes the XSLT process to abort. This is not a FOP problem. On 19.09.2008 08:42:31 Yang SongXiang wrote: > Hi, > > I use FOP 0.95, but it failed do linenumbering text in > <programlisting>, for both pdf and html output. > > My source XML file is like this: > ----------------------------------------------------------------------------------- > <example> > <title>tmp example</title> > <programlisting linenumbering="numbered">Line1 > Line2 > Line3 txt > Line4 > Line5 > Line6 > Line7 > Line8</programlisting> > </example> > ----------------------------------------------------------------------------------- > > As you can see, I had set linenumbering attribute, and my fop command > parameter is: > -param linenumbering.extension 1 > > Did I not specify use.extentions? if I use "-param use.extensions 1", > FOP exit with exceptions: > > SEVERE: Couldn't find hyphenation pattern en > Sep 19, 2008 2:40:01 PM org.apache.fop.cli.InputHandler warning > WARNING: No adjustColumnWidths function available. > Sep 19, 2008 2:40:01 PM org.apache.fop.cli.Main startFOP > SEVERE: Exception > javax.xml.transform.TransformerException: Stylesheet directed termination > at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:217) > at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125) > at org.apache.fop.cli.Main.startFOP(Main.java:166) > at org.apache.fop.cli.Main.main(Main.java:197) > > --------- > > javax.xml.transform.TransformerException: Stylesheet directed termination > at > org.apache.xalan.templates.ElemMessage.execute(ElemMessage.java:123) > > > Thank > -Scord Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
