summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2024-01-10 20:37:50 +0100
committerMichael Stahl <michael.stahl@allotropia.de>2024-01-11 10:50:51 +0100
commit4d6e9d5e155da1dde05233eb87691e2a454162f6 (patch)
tree09517abb2fdec9f01a30d86a0945ac4ed64ce5b9 /test
parentf1117fbfcd931d4ea2fccfb56f154aa6186d384b (diff)
tdf#105844 add test for ODF wholesome encryption with macro signature
... plus manifest schema extension. Change-Id: I73721db8620e97bd58556f9a71afcb0a33f6c7e8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161898 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'test')
-rw-r--r--test/source/xmltesttools.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/source/xmltesttools.cxx b/test/source/xmltesttools.cxx
index 14f953557f5f..eff0247c8511 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"),