summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-06-26 18:42:19 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2018-06-29 12:59:55 +0200
commit6947cee055a17a041819e9b3010c0b26d33d002c (patch)
treed56a20ebc0b2b535598354e58dca9ca6c8631494 /test
parente8b1dab67fd041103546e5427dd75b40ddb0431a (diff)
schema: ODF 1.3 + libreoffice extensions schema
Build this with RelaxNG <include> feature instead of a complete schema. This isn't bad but could work better if the schema were a little more modular... In order to track down all the uses of extension namespaces like loext, invoke the validator without "-e". Change-Id: I92a666fc54c25d66cea38decdc188d60de2a0b74 Reviewed-on: https://gerrit.libreoffice.org/56488 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'test')
-rw-r--r--test/source/bootstrapfixture.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/source/bootstrapfixture.cxx b/test/source/bootstrapfixture.cxx
index 5f5d4d9bad4b..d91f7899d80a 100644
--- a/test/source/bootstrapfixture.cxx
+++ b/test/source/bootstrapfixture.cxx
@@ -169,7 +169,9 @@ void test::BootstrapFixture::validate(const OUString& rPath, test::ValidationFor
if (eFormat == test::ODF)
{
- aValidator += " -e -M "
+ // invoke without -e so that we know when something new is written
+ // in loext namespace that isn't yet in the custom schema
+ aValidator += " -M "
+ m_directories.getPathFromSrc("/schema/libreoffice/OpenDocument-manifest-schema-v1.3+libreoffice.rng")
+ " -D "
+ m_directories.getPathFromSrc("/schema/libreoffice/OpenDocument-dsig-schema-v1.3+libreoffice.rng")