pjfanning commented on code in PR #775: URL: https://github.com/apache/poi/pull/775#discussion_r2002911683
########## 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: these files - should they be in the PR or are they already in the repo? It doesn't look right that they have no relative path info. -- 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