pjfanning commented on code in PR #775:
URL: https://github.com/apache/poi/pull/775#discussion_r2002915398


##########
poi-ooxml/src/test/java/org/apache/poi/openxml4j/opc/compliance/TestOPCComplianceCoreProperties.java:
##########
@@ -295,4 +305,50 @@ void testNoCoreProperties_saveInPlace() throws Exception {
         }
         assertTrue(tmp.delete());
     }
+
+    /**
+     * Test M4.2 rule not enforced when appropriate OPCComplianceFlag is set.
+     */
+    @Test
+    void testDisableEnforceCompatibilityMarkup() throws IOException {
+        testComplianceFlagOverridePreventsException(
+                "DoNotUseCompatibilityMarkupFAIL.docx",

Review Comment:
   if these are new files that need to be added to the repo (test-data dir and 
it has subdirs based on file type), it will probably break the poi-integration 
tests which run automatic tests on all files in test-data dir and invalid files 
will need to be explicitly skipped



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to