Re: Need more diagnostic info from FOP ... how?
Trevor, Hm. I'm not sure but, I think that you're having a "dueling spec collision" problem. The old spec used "master-name" the new spec uses "master-reference". I don't think the change has yet been released in FOP since the spec change is only a few weeks old. Do a search and replace on the DocBook XSL stylesheets. Replace master-reference with master-name. The FOP "Holliday release" should handle the new spec properly but, we're a week or so away from that release. Chuck Trevor Jenkins wrote: I'm using fop 0.20.2 with the (1.47 experimental) DocBook XSL stylesheets. Although fop reports "Parsing of document complete" when I use this setup with my document I receive errors saying: [ERROR]: property 'master-reference' ignored and then after "Parsing of document complete": [ERROR]: 'master-name' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master' This last is followed by java exception information. There's then no pdf file produced. I can't decide where the error originates. Is it a fault in the stylesheet, my understanding, fop itself, or all these and more? Sadly as there's no additional info on that error that helps me find the cause of the error with the stylesheet. Here's the command line I'm using ~/Fop-0.20.2/fop.sh -d \ -xsl /home/trevor/docbook-xsl-1.47-experimental/fo/docbook.xsl \ -xml proposal.xml \ -pdf proposal.pdf The .xml file itself is about 25K. I've tried a (non DocBook) stylesheet and fop generates a pdf file. Both the stylesheets and Fop are "out of the box". Regards, Trevor British Sign Language is not inarticulate handwaving; it's a living language. Support the campaign for formal recognition by the British government now! Details at http://www.fdp.org.uk/ or http://www.bsl-march.co.uk/
Re: Need more diagnostic info from FOP ... how?
Trevor Jenkins wrote: > > I'm using fop 0.20.2 with the (1.47 experimental) DocBook XSL stylesheets. > Although fop reports "Parsing of document complete" when I use this setup > with my document I receive errors saying: > > [ERROR]: property 'master-reference' ignored > > and then after "Parsing of document complete": > > [ERROR]: 'master-name' for 'fo:page-sequence'matches no > 'simple-page-master' or 'page-sequence-master' I think these error messages aren't that bad, they give you atleast a hint ;-) > This last is followed by java exception information. There's then no pdf > file produced. I can't decide where the error originates. Is it a fault in > the stylesheet, my understanding, fop itself, or all these and more? Sadly The problem seems to be that the 1.47 experimental DocBook XSL stylesheets are using the XSL-FO Recommendation syntax and Fop-0.20.2RC (which you are using, I guess) supports Candidate Recommendation syntax. So possible solutions are: 1) Use latest FOP from CVS ('fop-0_20_2-maintain' branch) 2) Wait for FOP 0.20.2 final (which should be ready some days after X-Mas) 3) use older DocBook XSL stylesheets > Regards, Trevor Christian
Need more diagnostic info from FOP ... how?
I'm using fop 0.20.2 with the (1.47 experimental) DocBook XSL stylesheets. Although fop reports "Parsing of document complete" when I use this setup with my document I receive errors saying: [ERROR]: property 'master-reference' ignored and then after "Parsing of document complete": [ERROR]: 'master-name' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master' This last is followed by java exception information. There's then no pdf file produced. I can't decide where the error originates. Is it a fault in the stylesheet, my understanding, fop itself, or all these and more? Sadly as there's no additional info on that error that helps me find the cause of the error with the stylesheet. Here's the command line I'm using ~/Fop-0.20.2/fop.sh -d \ -xsl /home/trevor/docbook-xsl-1.47-experimental/fo/docbook.xsl \ -xml proposal.xml \ -pdf proposal.pdf The .xml file itself is about 25K. I've tried a (non DocBook) stylesheet and fop generates a pdf file. Both the stylesheets and Fop are "out of the box". Regards, Trevor British Sign Language is not inarticulate handwaving; it's a living language. Support the campaign for formal recognition by the British government now! Details at http://www.fdp.org.uk/ or http://www.bsl-march.co.uk/ -- <>< Re: deemed!