office-gobmx/unoxml
Michael Stahl 9b9bc7461e tdf#153039 unoxml: replace root element of CDocument throws
XForms replace doesn't work because:

CDocument::IsChildTypeAllowed() tests that the document node does not
already have an element child, because only one is allowed - but when
called from CNode::replaceChild(), the existing child will be removed,
so that needs to be allowed to proceed (check that removed child is
also element).

(regression from commit c5db3b93ee)

Change-Id: I167de3462f4d1934dbf8404ad395349897cfd981
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145757
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-19 11:28:50 +00:00
..
inc tdf#153039 unoxml: replace root element of CDocument throws 2023-01-19 11:28:50 +00:00
qa
source tdf#153039 unoxml: replace root element of CDocument throws 2023-01-19 11:28:50 +00:00
CppunitTest_unoxml_domtest.mk
IwyuFilter_unoxml.yaml
JunitTest_unordf_complex.mk
JunitTest_unoxml_complex.mk
Library_unordf.mk
Library_unoxml.mk
Makefile
Module_unoxml.mk
README.md

UNO Wrappers for XML Services

Contains UNO wrappers for XML services including DOM, RDF and XPath.