Kaydet (Commit) 6947cee0 authored tarafından Michael Stahl's avatar Michael Stahl

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: 's avatarMichael Stahl <Michael.Stahl@cib.de>
üst e8b1dab6
...@@ -169,7 +169,9 @@ void test::BootstrapFixture::validate(const OUString& rPath, test::ValidationFor ...@@ -169,7 +169,9 @@ void test::BootstrapFixture::validate(const OUString& rPath, test::ValidationFor
if (eFormat == test::ODF) 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") + m_directories.getPathFromSrc("/schema/libreoffice/OpenDocument-manifest-schema-v1.3+libreoffice.rng")
+ " -D " + " -D "
+ m_directories.getPathFromSrc("/schema/libreoffice/OpenDocument-dsig-schema-v1.3+libreoffice.rng") + m_directories.getPathFromSrc("/schema/libreoffice/OpenDocument-dsig-schema-v1.3+libreoffice.rng")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment