summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2024-11-21 13:57:14 +0500
committerMichael Stahl <michael.stahl@allotropia.de>2024-11-22 11:15:50 +0100
commitda0e4cdc4f6bf8e0e88a4dd0e00afdf68e59a883 (patch)
treedef4699a1f90be0051db8d4c4d0280240b3f7946 /configure.ac
parent1e35da78bcc7002b401313c8b39503403379715a (diff)
tdf#163974: ignore nested footnotes on ODF import
That is a valid, but unsupported, markup, that is explicitly mentioned in ODF 1.4 part 3 "Schema" sect. 6.3.4 "<text:note-body>": Note: The schema allows for the inclusion of <text:note> elements as a descendant of a child of the <text:note-body> element. While this may be reasonable for note types, it is not reasonable for footnotes and endnotes. Conforming consumers need not support notes inside notes. (The "reasonable for note types" is obviously an editorial error from the time when ODF 1.1 text "reasonable for some future note types" was reviewed for ODF 1.2.) As the ODF also specifies, that a conforming consumer "need not interpret the semantics of all elements, attributes and attribute values" (ibid., sect. 2.4 "Consumer"), it is OK to silently drop this data, just as done for other similar cases. Change-Id: I0a417981087ebf225565628f14409661058d100d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176906 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins (cherry picked from commit 512ef23224987e3107e66241db3b42934e15a561) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176919 Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions