Apache OpenOffice (AOO) Bugzilla – Issue 31400
Disabling XHTML XSLT stylesheets Master Document handling
Last modified: 2013-02-07 22:16:28 UTC
In StarOffice8 only Calc, Impress and Word are able to be transformed, but in the XHTML XSLT stylesheets even Master Document are addressed using a large work around, which should be disabled by default. -- I realized that there can not be created a dynamic switch for this disabling not with parameter/variable (as xsl:include - for adding the master document handling stylesheets - is a top level element and can not be surrounded by an xsl:if or xsl:choose) nor by an ENTITY as no open/close comment is able to be separated. WHAT HAS CHANGES / TO BE TESTED: 1) If somebody (e.g. JSC for the transformation of his Development Guide) is in need of the master document handling, the masterDocument variable have set from 'false()' to 'true()' and the comment around the xsl:include='master_document.xsl' have to be removed. 2) The stylesheet 'master_child_linking.xsl' have been removed by optimization.
fixed and tested (for the master document usage java classes are necessary, which will be later checked in a public CVS, when used for regression testing.)
Stylesheet have not been deleted, yet
Added time estimations.
Some XSLT processors even evaluate forks during parsing, when the conditional variable is set to false(). Therefore an easy disabling of master document handling via variable is not possible. --> postponed to OfficeLater