Nicolas,

Here is the page that I generated from your index.xml:

http://people.apache.org/~ltheussl/maven-stage-site/maven-1.x/reference/plugins/examples/

It looks ok to me, or am I missing something?

-Lukas


Nicolas De Loof wrote:

I've set maven.docs.outputencoding = ISO-8859-1
I've tried to set LANG to fr_FR.ISO-8859-1 or fr_FR.UTF-8 without any result.

http://jira.codehaus.org/browse/MPXDOC-184 seems to be similar, but the xml and html generated by xdoc plugin from POM are fine in my site.

I attach the generated index.xml. I don't know the encoding that it uses and that produces this issue. When I open it using "vi" it is well displayed with a "[converted]" ont bottom line. When I use "cat" to dump the file I can't read the expected accents (replaced with a square on console).
Other POM generated xdoc can be well displayed on my console.

I've noticed html2xdoc produces a org.jdom.Document from original HTML. I don't understand how non ascii characters or HTML entities are copied to this new XML, that has default encoding (UTF-8 ?). As maven 1.1b2 uses dom4j-1.4 it cannot use the new setXMLEncoding method introduced in dom4j-1.6. Is there any plan to upgrade this dependency ?

I've also noticed xdoc plugin source that it's DTD is expected to include html entities. Generated xdocs don't have reference to any DTD or schema and so cannot include HTML entities. Is this only expected for xdoc plugin 1.10 ? If this is the case, will html2xdoc be upgraded to convert non ascii chars to html entities ?

Thanks for any help.

Nico.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to