When I try to render a PDF of the attached file I get a NullPointerException 
from the FOP XSL.FO processor.

It renders to PDF fine just using FOP 1.0 and the docbook stylesheets.

Thanks for any suggestions.  

Shawn
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd";>
<book>
  <bookinfo>
    <title>Test book</title>

    <author>
      <firstname>mr</firstname>

      <surname>me</surname>

      <affiliation>
        <orgname/>
      </affiliation>
    </author>

    <pubdate>today</pubdate>
  </bookinfo>

  <chapter>
    <title>Getting started</title>

    <section>
      <title>Here we go</title>

      <para/>
    </section>
  </chapter>

  <bibliography id="_example_bibliography">
    <title>Example Bibliography</title>

    <simpara>Here is my bibliography.</simpara>

    <bibliodiv>
      <title>Books</title>

      <bibliomixed><bibliomisc> <anchor id="taoup"
      xreflabel="[taoup]"/>[taoup] Eric Steven Raymond. <emphasis>The Art of
      Unix Programming</emphasis>. Addison-Wesley. ISBN 0-13-142901-9.
      </bibliomisc></bibliomixed>

      <bibliomixed><bibliomisc> <anchor id="walsh-muellner"
      xreflabel="[walsh-muellner]"/>[walsh-muellner] Norman Walsh &amp;
      Leonard Muellner. <emphasis>DocBook - The Definitive Guide</emphasis>.
      O’Reilly &amp; Associates. 1999. ISBN 1-56592-580-7.
      </bibliomisc></bibliomixed>
    </bibliodiv>

    <bibliodiv>
      <title>Articles</title>

      <bibliomixed><bibliomisc> <anchor id="abc2003"
      xreflabel="[abc2003]"/>[abc2003] Gall Anonim. <emphasis>An
      article</emphasis>, Whatever. 2003. </bibliomisc></bibliomixed>
    </bibliodiv>
  </bibliography>
</book>
 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to