You are viewing a plain text version of this content. The canonical link for it is here.
Posted to doxia-dev@maven.apache.org by push <pu...@agreeya.com> on 2008/11/25 05:25:22 UTC
Re: head element in site.xml?
is there any othwer way to put site.xml other thn putting it inside src/site
folder
Vincent Siveton wrote:
>
> Hi,
>
> 2007/9/7, Lukas Theussl <lt...@apache.org>:
>> Hi,
>>
>> I just noticed that the site descriptors for the doxia (and maven) site
>> contain a <head> element, apparently to include a javascript snippet in
>> all created site pages. I was not aware that this was possible, it's not
>> mentioned anywhere in the docs and google didn't help me either.
>
> Exactly.
> A small doc is in the description of the head field in decoration.mdo
> (doxia-decoration-model).
>
>> Problem is: 1st, it causes a bug that makes all maven generated pages
>> invalid XHTML [1], and 2nd I have already told a user that it's illegal
>> [also 1].
>>
>> So question: should it be supported officially? If yes, whoever knows
>> more, please document! :)
>
> We need it, as brett said.
>
> For your first point, it due to a non-desired behaviour in p-u. Have a
> glance to the comment in
> org.codehaus.plexus.util.xml.Xpp3Dom#toString()
> I will fix the default-site.vm with a small workaround.
>
> Cheers,
>
> Vincent
>
>>
>> -Lukas
>>
>> [1] http://jira.codehaus.org/browse/MSITE-230
>>
>
>
--
View this message in context: http://www.nabble.com/head-element-in-site.xml--tp12537293p20674990.html
Sent from the Doxia - dev mailing list archive at Nabble.com.