[ 
http://jira.codehaus.org/browse/DOXIA-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_111885
 ] 

Dave Syer commented on DOXIA-160:
---------------------------------

> The reason for this issue is most likely in the docbook module

But DocbookRenderer is in the doxia-book project (not the Docbook module), so I 
think this issue is in the right place unless the renderers get factored out.

> ad 1) not sure what you mean with configuration option, from the pom? In 
> that case it should be injected via the doxia-maven-plugin.

How?  As far as I can see, the doxia-maven-plugin only has configuration 
options for the book declaration, not for the renderers.  I have tried asking 
this question in 4 different ways, now, in 4 different forums.  If you know how 
to configure the DocbookRenderer from the plugin please show an example.

> ad 2) I have no idea what the book() methods are used for, but since it's 
> docbook 
> module specific, they shouldn't do anything vital

They are internal to DocbookRenderer (as I already said).  Doesn't mean they 
don't do anything vital (otherwise why would they exist?).  It was just a hint 
- the book() method is called in the wrong place.

> Book output in doc-book format is not well formed
> -------------------------------------------------
>
>                 Key: DOXIA-160
>                 URL: http://jira.codehaus.org/browse/DOXIA-160
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Book
>    Affects Versions: 1.0-alpha-9
>            Reporter: Dave Syer
>
> I tried using the output from a book in doc-book to run it through a 
> postprocesing step with docbook and found that it barfed on the source 
> generated by doxia.  Not surprising when you consider that it is not well 
> formed, e.g. it has two <<<DOCTYPE>>> headers in it, and no root element:
> +---
> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
> <chapter><section>Bar<para>This is bar</para>
> </section>
> </chapter>
> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
> <chapter><section>Spam<para>This is spam</para>
> </section>
> </chapter>
> </book>
> +---
>   When I changed it to this it worked better
> +---
> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.4//EN" 
> "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd";>
> <book>
> <chapter><section>Bar<para>This is bar</para>
> </section>
> </chapter>
> <chapter><section>Spam<para>This is spam</para>
> </section>
> </chapter>
> </book>
> +---

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to