From a2baea7faff31d26459dab3668a39eae85e4991b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 11:27:30 +0200 Subject: Adding upstream version 4:24.2.1. Signed-off-by: Daniel Baumann --- test/CppunitTest_test_a11y.mk | 1 + test/source/xmltesttools.cxx | 2 ++ 2 files changed, 3 insertions(+) (limited to 'test') diff --git a/test/CppunitTest_test_a11y.mk b/test/CppunitTest_test_a11y.mk index 22d1c8bc55..212e905978 100644 --- a/test/CppunitTest_test_a11y.mk +++ b/test/CppunitTest_test_a11y.mk @@ -14,6 +14,7 @@ $(eval $(call gb_CppunitTest_add_exception_objects,test_a11y, \ )) $(eval $(call gb_CppunitTest_use_libraries,test_a11y, \ + acc \ sal \ cppu \ subsequenttest \ diff --git a/test/source/xmltesttools.cxx b/test/source/xmltesttools.cxx index 14f953557f..eff0247c85 100644 --- a/test/source/xmltesttools.cxx +++ b/test/source/xmltesttools.cxx @@ -294,6 +294,8 @@ int XmlTestTools::getXPathPosition(const xmlDocUniquePtr& pXmlDoc, const OString void XmlTestTools::registerODFNamespaces(xmlXPathContextPtr& pXmlXpathCtx) { + xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("manifest"), + BAD_CAST("urn:oasis:names:tc:opendocument:xmlns:manifest:1.0")); xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("office"), BAD_CAST("urn:oasis:names:tc:opendocument:xmlns:office:1.0")); xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("style"), -- cgit v1.2.3