Hi, FOP uses XSL-FO as input. So, the best practice is to provide XSL-FO file on this list, not XSLT.
That said, you should provide full error trace with your test case; information is not sufficient here to understand from what part the Exception is thrown. 2015-08-22 15:23 GMT+02:00 Rahman USTA <rahman.usta...@gmail.com>: > Hello; > > I want to switch 1.1 to 2.0 but when converting Docbook5 to PDF I'm getting; > > docbook/fo/docbook.xsl; Line #312; Column #54; > java.lang.NullPointerException > > There is no problem with docbook's latest docbook.xsl but with my custom > xsl, it gives me NLP. But, there is no problem with fop1.1 also. > > Example docbook xml content that produces NLP; > > <?xml version="1.0" > encoding="UTF-8"?><?asciidoc-toc?><?asciidoc-numbered?><article > xmlns="http://docbook.org/ns/docbook" > xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:lang="en"> > <info> > <title>Selam</title> > <date>2015-08-17</date> > </info> > <section xml:id="_selam"> > <title>Selam</title> > <note> > <simpara>Hello world</simpara> > <programlisting language="javascript" linenumbering="unnumbered">// > code</programlisting> > </note> > </section> > </article> > > Used xsl is; > > https://github.com/asciidocfx/AsciidocFX/blob/fop2/conf/docbook-config/fo-pdf.xsl > > If I change fo-pdf.xsl as follows, then the issue is resolved, but how can > give bottom padding and bottom line for that case ?; > > https://github.com/asciidocfx/AsciidocFX/blob/fop2/conf/docbook-config/fo-pdf.xsl#L152 > > Make zero bottom padding > > https://github.com/asciidocfx/AsciidocFX/blob/fop2/conf/docbook-config/fo-pdf.xsl#L164 > > Remove line 164 > > https://github.com/asciidocfx/AsciidocFX/blob/fop2/conf/docbook-config/fo-pdf.xsl#L251 > > Make zero bottom padding > > Thanks > > -- > Rahman USTA > Istanbul JUG > https://github.com/rahmanusta -- pascal --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org