Created attachment 159397 [details] document to test saving to ODF 1.2 Open attached document. It has a legend with custom width and height. Save is to ODF 1.2, strict, not extended. Unzip the file. Find the node chart:legend in content.xml in 'Object 1'. Error: It has attributes width and height without namespace. The attributes should not be there at all, because they do not exist in ODF 1.2. I see the error in Version: 7.0.0.0.alpha0+ (x64) Build ID: 6388c578c672690fff662cb04b6a0436cd742f37 CPU threads: 8; OS: Windows 10.0 Build 18362; UI render: Skia/Raster; VCL: win; Locale: de-DE (en_US); UI-Language: en-US Calc: threaded AOO writes it correctly.
Reproduced with: Version 3.6.0.4 (Build ID: 932b512) But not with: LibreOffice 3.5.0rc3 Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735
Patch on gerrit: https://gerrit.libreoffice.org/c/core/+/91942
Julien Nabet committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/31de39108ce19c002ab4ef6ab369dd5bfa668634 tdf#131966: chart legend attribs width and height unknown for ODF 1.2 (strict) It will be available in 7.0.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.
Julien Nabet committed a patch related to this issue. It has been pushed to "libreoffice-6-4": https://git.libreoffice.org/core/commit/07da4d775c7fa4a2d3bef5f71995317c9feb91f6 tdf#131966: chart legend attribs width and height unknown for ODF 1.2 (strict) It will be available in 6.4.4. 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.