I could reproduce your problem, I opened an issue:

http://jira.codehaus.org/browse/DOXIA-157

Apparently, by default all xml files are parsed by the docbook parser (which explains your original stack trace). I don't know the reason for the xml parsing error (could be a hidden special character or an encoding issue), if you attach your file (better the whole project) to the jira above I'll have a look.

-Lukas

Giovanni Pedone wrote:
It is just this:

<document>
  <properties>
    <title>Page Title</title>
    <author email="[EMAIL PROTECTED]">John Doe</author>
  </properties>
  <head>
  <title>Page Title</title>
  </head>
  <body>
    <section name="bindings">
      <p>Hi!</p>
      ciao ciao gio
    </section>
  </body>
</document>


And I just run the command:

"mvn doxia:render-books"

If I do use it to "mvn site" it works fine and generates an html file.




-----Original Message-----
From: Lukas Theussl
This is a simple xml parsing error, nothing to do with doxia. Your input
document src\site\xdoc\bindings.xml is not well-formed (is it being
processed by the site plugin?).

-Lukas


[INFO] Error while generating book in format 'pdf'.

Embedded error: Error while parsing document:
F:\projects\Gio\gioMaven\src\site\xdoc\bindings.xml.
only whitespace content allowed before start tag and not t (position:
START_DOCUMENT seen t... @1:1)






----------------------------------------------------------------------------
"La presente comunicazione elettronica contiene informazioni aziendali non
private. Eventuali risposte alla presente potrebbero essere conosciute, per
motivi organizzativi e di sicurezza, dal personale di Postecom S.p.a."

Reply via email to