You can use apt or docbook sources instead of xdocs.
-Lukas
Giovanni Pedone wrote:
Hi,
I filed the attach on the issue you opened. Thank you and let me know about
your findings.
Meanwhile, is there any other way to format the content files to allow them
to be formatted as PDF ?
Giovanni
-----Original Message-----
From: Lukas Theussl [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 02, 2007 8:54 AM
To: [EMAIL PROTECTED]
Subject: Re: tutorial doxia and maven plugin
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."
----------------------------------------------------------------------------
"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."