OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: docbook-xsl producing invalid FO? :(

I hope I explain this properly, forgive me if I don't.
I'm going out of my mind trying to figure this out - I've tried

This command:
  /usr/local/fop-0.20.5/fop.sh -d -xsl xsl/html/docbook.xsl -xml xsl/RELEASE-NOTES.xml -pdf index.pdf

Results in no idex.pdf being output.
Instead I'm met with lovely lovely errors like:

[ERROR] Unsupported element encountered: html (Namespace: default).  Source context: unavailable
[ERROR] Expected XSL-FO (root, page-sequence, etc.), SVG (svg, rect, etc.) or elements from another supported language.
[ERROR] java.lang.NullPointerException
org.apache.fop.apps.FOPException: java.lang.NullPointerException
        at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:111)
        at org.apache.fop.apps.Fop.main(Fop.java:62)

I used xsl/RELEASE-NOTES.xml from the docbook distribution as an
example, on the assumption that it shold compile fine. the XSL output to
HTML fine, but I *really* need FO to work so I can output to PDF and

I followed the install instructions for FOP from

Avleen Vig
Systems Administrator
Personal: www.silverwraith.com
EFnet:    irc.mindspring.com (Earthlink user access only)

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]