This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FOP 0.20.3 with 1.50.0 SS problem.


Hi All,

It looks like the xalan-j version 2.4 D1 has solved this problem at least for my example document. The bug reported seemed to be the inability to handle very long XPath statements. Now at least it seems to handle them. YMMV.

Eric

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6063

Eric Richardson wrote:


Hi,
I hope this hasn't been covered before but I'm having problems with a FAQ and FOP 0.20.3 and the 1.50.0 stylesheets as follows:

[java] [INFO]: FOP 0.20.3
[java] [INFO]: building formatting object tree
[java] [WARN]: property - "linefeed-treatment" is not implemented yet.
[java] [ERROR]: 'master-reference' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master'

I was using xalan-j_2_2_D11 to get the errors above so I decided to upgrade.

I tried using xalan-j_2_3_1 and get even worse results: stylesheet transform fails for xhtml.

For xhtml/docbook.xsl.
[java] file:/home/maxwell/pws/jdocbook/docbook-xsl-1.50.0/common/common.xsl; Line 1385; Column 35; XSLT Error (javax.xml.transform.TransformerException): 5 >= 1

But for fo/docbook.xsl the result is different. The xml to fo seems to occur okay but the fo to pdf gives the following.

[java] [INFO]: FOP 0.20.3
[java] [INFO]: building formatting object tree
[java] [WARN]: property - "linefeed-treatment" is not implemented yet.
[java] [INFO]: [1]
[java] [INFO]: [2]
[java] [ERROR]: The id "N1003D" already exists in this document

Funny thing is that I only see this id once in the fo document.

Thanks for any help,
Eric
p.s. the doc is a more than one qandaset inside an article. Any small working qandaset doc would be appreciated as an example.






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]