diff --git a/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng b/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng
index 49cff237cd1b..0154bc001dda 100644
--- a/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng
+++ b/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng
@@ -2263,6 +2263,16 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.
+
+
+
+
+
+
+
+
+
+
diff --git a/sw/qa/extras/inc/swmodeltestbase.hxx b/sw/qa/extras/inc/swmodeltestbase.hxx
index 40a77a8e8024..ea3ce849a623 100644
--- a/sw/qa/extras/inc/swmodeltestbase.hxx
+++ b/sw/qa/extras/inc/swmodeltestbase.hxx
@@ -796,7 +796,8 @@ protected:
{
CPPUNIT_ASSERT_MESSAGE("Password set but not requested", xInteractionHandler->wasPasswordRequested());
}
- if (mustValidate(filename))
+ if (mustValidate(filename) || aFilterName == "writer8"
+ || aFilterName == "OpenDocument Text Flat XML")
{
if(aFilterName == "Office Open XML Text")
{
@@ -806,7 +807,6 @@ protected:
else if(aFilterName == "writer8"
|| aFilterName == "OpenDocument Text Flat XML")
{
- // still a few validation errors
validate(maTempFile.GetFileName(), test::ODF);
}
else if(aFilterName == "MS Word 97")
@@ -838,6 +838,12 @@ protected:
if (!maFilterOptions.isEmpty())
aMediaDescriptor["FilterOptions"] <<= maFilterOptions;
xStorable->storeToURL(rTempFile.GetURL(), aMediaDescriptor.getAsConstPropertyValueList());
+ // TODO: for now, validate only ODF here
+ if (aFilterName == "writer8"
+ || aFilterName == "OpenDocument Text Flat XML")
+ {
+ validate(rTempFile.GetFileName(), test::ODF);
+ }
}
void finish()
diff --git a/sw/qa/extras/odfexport/odfexport.cxx b/sw/qa/extras/odfexport/odfexport.cxx
index e6f544da51c2..48ac63b27271 100644
--- a/sw/qa/extras/odfexport/odfexport.cxx
+++ b/sw/qa/extras/odfexport/odfexport.cxx
@@ -52,17 +52,9 @@ public:
return OString(filename).endsWith(".odt");
}
- bool mustValidate(const char* filename) const override
+ bool mustValidate(const char* /*filename*/) const override
{
- std::vector aBlacklist = {
- // These are known problems, they should be fixed one by one.
- "fdo86963.odt",
- "shape-relsize.odt",
- "fdo60769.odt",
- "fdo38244.odt"
- };
-
- return std::find(aBlacklist.begin(), aBlacklist.end(), filename) == aBlacklist.end();
+ return true;
}
virtual std::unique_ptr preTest(const char* pFilename) override