Apache OpenOffice (AOO) Bugzilla – Issue 101360
docbook: use xsl:element for element construction
Last modified: 2017-05-20 09:30:35 UTC
There is several instances of use xsl:text for constructing an element and one instance for constructing an attribute in filter/source/docbook/sofftodocbookheadings.xsl. I think that is vile and anyone doing it should be shot at dawn (or be subjected to some torture, at least :). I'm attaching a patch to replace them by xsl:element/xsl:attribute, with one exception--construction of tgroup element in template matching table:table/table:table-row--that would require refactoring of the existing code.
Created attachment 61834 [details] proper construction of XML elements
eeeeeeeewww, WTF??? i second the motion for corporal punishment in this case. thanks for the patch dtardon! fixed in CWS sw34bf03 http://hg.services.openoffice.org/hg/cws/sw34bf03/rev/d502e3de2644
please verify
verified