This is an automated email from the ASF dual-hosted git repository. garydgregory pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/commons-xml.git
commit 802c4724473e8e8b5cd3837e225deadfc84fe7ea Author: Gary Gregory <[email protected]> AuthorDate: Fri Aug 28 17:54:26 2026 -0400 Javadoc: Use "secure" terminology. --- src/test/java/org/apache/commons/xml/XPathInputSourceTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/apache/commons/xml/XPathInputSourceTest.java b/src/test/java/org/apache/commons/xml/XPathInputSourceTest.java index c21aada..423aeac 100644 --- a/src/test/java/org/apache/commons/xml/XPathInputSourceTest.java +++ b/src/test/java/org/apache/commons/xml/XPathInputSourceTest.java @@ -61,7 +61,7 @@ void secureXPathEvaluatesPlainDocument() throws Exception { // Positive control: the secure pre-parse still evaluates an entity-free document end to end. final String result = SecureXPathFactory.newInstance().newXPath().evaluate(EXPRESSION, AttackTestSupport.inputSource(AttackTestSupport.xmlBody("plain text"))); - assertEquals("plain text", result, "hardened XPath should evaluate a plain document"); + assertEquals("plain text", result, "secured XPath should evaluate a plain document"); } @Test
