Link: https://issues.oasis-open.org/browse/OFFICE-4123 Commit: https://git.libreoffice.org/core/+/157b027c4cfca2582b1c1bdb66992560084ac008%5E%21 Adapt code in https://opengrok.libreoffice.org/xref/core/xmloff/source/draw/shapeexport.cxx?r=b904816f#4614 and remove loext:extrusion-metal-type from schema. Test: testExtrusionSpecularityExtended
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/34c4a18d78b0b8a2eb2bc4376190d894b8c3d6f4 tdf#162686: Adapt to ODF 1.4 It will be available in 25.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Remaining task is to remove https://opengrok.libreoffice.org/xref/core/schema/libreoffice/OpenDocument-v1.4%2Blibreoffice-schema.rng?r=146dac7d&mo=104632&fi=2945#2945
The export logic is wrong. The attribute value always reflects the value of eMetalType. Only in ODF 1.4 the attribute itself has namespace 'draw', whereas in ODF extended in versions before ODF 1.4 it has namespace 'loext' and in ODF strict in versions before ODF 1.4 it must not be written at all. The unit tests need to be extended to cover not only existence and namespace but also attribute value.
Fixed with commit https://cgit.freedesktop.org/libreoffice/core/commit/?id=1b7bdc29559caba53fb3de9820110c633bf00a27