Created attachment 184872 [details] Fontwork of type "text plain" which is named by user Take attached document and put it to oox/qa/unit/data/namedShape.odt" Add the test CPPUNIT_TEST_FIXTURE(Test, testShapeID) { loadFromURL(u"namedShape.odt"); save("Office Open XML Text"); } to oox/qa/unit/export.cxx Run the test, e.g. by make CppunitTest_oox_export CPPUNIT_TEST_NAME="testShapeID" The test fails with validation error in OOXML export: Errors: 1 If you step into the "save" method you will see in the output window: INFO - Validating part "/word/document.xml" using schema "29500T/wml.xsd" ... ERROR - (word/document.xml:2 col:1,724) cvc-complex-type.3.2.2: Attribute 'ID' is not allowed to appear in element 'v:shape'.
Hi Regina, If you need to bypass it, you can use skipValidation() for now
Reproduced Arch Linux 64-bit, X11 Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 660f73385562314e01abb4cef9d443b0c0f42b06 CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded Built on 21 March 2023