Bug 108536 - ODF: Invalid text:start-value="-1" attribute in <text:h> element
Summary: ODF: Invalid text:start-value="-1" attribute in <text:h> element
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.0.4 release
Hardware: x86 (IA32) All
: medium normal
Assignee: Not Assigned
URL: http://docs.oasis-open.org/office/v1....
Whiteboard:
Keywords: filter:odt
Depends on:
Blocks: ODF-export-invalid
  Show dependency treegraph
 
Reported: 2017-06-14 21:09 UTC by Regina Henschel
Modified: 2023-12-12 08:18 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2017-06-14 21:09:15 UTC
Take a simple text document with some headings and number them via Tools > Chapter Numbering. Set cursor into one of the middle headings and chose item "Restart Numbering" from the context menu. Save the document.
Unzip it and examine content.xml. You will find the attribute text:start-value="-1" in the <text:h> element, where you had set "Restart Numbering".

According to section 19.868.2<text:h> the data type is nonNegativeInteger and therefore value "-1" is not allowed.
Comment 1 raal 2017-06-16 18:45:25 UTC
reproducible
Version: 6.0.0.0.alpha0+
Build ID: cbf371e07fd5dea1ea08a1f299360d1273961ebd
CPU threads: 1; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-06-14_23:13:57

and LO 4.2
Comment 2 QA Administrators 2018-06-17 02:44:03 UTC Comment hidden (obsolete)
Comment 3 Regina Henschel 2018-06-17 12:41:16 UTC
The error still exists as described in Version: 6.2.0.0.alpha0+ (x64)
Build ID: 2c85607101e2e04e870e3b87362f39f9a9148e6c
CPU threads: 8; OS: Windows 10.0; UI render: default; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-06-16_00:12:37
Locale: de-DE (de_DE); Calc: CL
Comment 4 QA Administrators 2019-06-18 02:47:22 UTC Comment hidden (obsolete)
Comment 5 Regina Henschel 2019-06-18 11:30:15 UTC
The error still exists in Version: 6.4.0.0.alpha0+ (x64)
Build ID: 7aaa7212f2f37606b34d44a039398f05c02d5660
CPU threads: 8; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-06-11_23:48:14
Locale: de-DE (en_US); UI-Language: en-US
Calc: threaded
Comment 6 Regina Henschel 2020-09-12 22:02:49 UTC
The error still exists in Version: 7.1.0.0.alpha0+ (x64)
Build ID: 1e0cfd5662d95cea84e80e4fe10d52c3b1101ae6
CPU threads: 8; OS: Windows 10.0 Build 18362; UI render: Skia/Vulkan; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL
Comment 7 Regina Henschel 2021-12-11 14:49:14 UTC
The error still exists in Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 4ac9032163cf55c160145373e7c41741c9c339ca
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL
Comment 8 QA Administrators 2023-12-12 03:13:49 UTC Comment hidden (obsolete)
Comment 9 Regina Henschel 2023-12-12 08:18:53 UTC
The error still exists in Version: 24.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 43967453e15e1d054972a7586cfef8f8e0866270
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