Bug 141546

Summary: FILESAVE invalid element <style:graphic-properties> in style element of family drawing-page
Product: LibreOffice Reporter: Regina Henschel <rb.henschel>
Component: ImpressAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal    
Priority: medium    
Version: 6.4.7.2 release   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=103602
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 108198    
Attachments: document to examine page style

Description Regina Henschel 2021-04-07 18:00:25 UTC
Created attachment 171015 [details]
document to examine page style

You might open attached document and resave it, e.g. to ODF 1.3 extended. The error is the same.

LibreOffice writes the element <style:graphic-properties> in a style of family page-properties. But that is not allowed there. Allowed is <style:drawing-page-properties>. The element is written because of the attribute draw:fill-hatch-solid. But this attribute may be used in element <style:drawing-page-properties> too. So there is not even a need for an extended namespace.

You can test the document with validator https://odfvalidator.org/.

The error exists already in LO 6.4. I wonder, that there is no report already.
Comment 1 Buovjaga 2022-04-07 15:26:02 UTC
I believe you and set to NEW
Comment 2 QA Administrators 2024-04-07 03:14:28 UTC Comment hidden (obsolete)
Comment 3 Regina Henschel 2024-04-07 12:46:30 UTC
Current daily still produces invalid markup. Tested with

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: c9d4f99b2bb54ac7735b3e0d0cadbafbd0279518
CPU threads: 32; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: threaded