Author: michaelo Date: Mon Dec 22 21:29:11 2014 New Revision: 1647412 URL: http://svn.apache.org/r1647412 Log: [DOXIASITETOOLS-82] Decoration model body/footer type mismatch
Type of the footer has been changed to String according to its descriptions for several reasons: * As layed out in DOXIASITETOOLS-50 the footer is supposed to be a text and not an XML fragement, site.xml has to be view agnostic * footer snippet cannot easily be obtained because a complete XML document is returned * a toString is not possible without complete tree traversal For those who still want to have XML passed to the renderer, they can use a CDATA block. Modified: maven/doxia/doxia-sitetools/trunk/doxia-decoration-model/src/main/mdo/decoration.mdo Modified: maven/doxia/doxia-sitetools/trunk/doxia-decoration-model/src/main/mdo/decoration.mdo URL: http://svn.apache.org/viewvc/maven/doxia/doxia-sitetools/trunk/doxia-decoration-model/src/main/mdo/decoration.mdo?rev=1647412&r1=1647411&r2=1647412&view=diff ============================================================================== --- maven/doxia/doxia-sitetools/trunk/doxia-decoration-model/src/main/mdo/decoration.mdo (original) +++ maven/doxia/doxia-sitetools/trunk/doxia-decoration-model/src/main/mdo/decoration.mdo Mon Dec 22 21:29:11 2014 @@ -431,7 +431,7 @@ under the License. <name>footer</name> <description>If present, the contained text will be used instead of the generated copyright text.</description> <version>1.1.0+</version> - <type>DOM</type> + <type>String</type> <identifier>true</identifier> </field> </fields>