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 a5f20359a1368eace07449c1a096d89a386197e7 Author: Gary Gregory <[email protected]> AuthorDate: Fri Aug 28 14:33:55 2026 -0400 Javadoc: "hardening" -> "secure/securing" wording to match new class and method names. Rename test methods. --- src/test/java/org/apache/commons/xml/SchemaLocationDomTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/apache/commons/xml/SchemaLocationDomTest.java b/src/test/java/org/apache/commons/xml/SchemaLocationDomTest.java index fe2b37b..1581dfb 100644 --- a/src/test/java/org/apache/commons/xml/SchemaLocationDomTest.java +++ b/src/test/java/org/apache/commons/xml/SchemaLocationDomTest.java @@ -104,7 +104,7 @@ void unconfiguredFetchesExternalSchema() throws Exception { assumeTrue(supportsSchemaLanguage(), "parser does not support JAXP 1.2 schema-language XSD validation"); final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, false); - // Positive control: without hardening the external schema is fetched and its default attribute is inlined into the DOM. + // Positive control: without securing the external schema is fetched and its default attribute is inlined into the DOM. final Document document = parse(enableXsdValidation(factory)); assertEquals(LEAKED_MARKER, document.getDocumentElement().getAttribute("leak"), "Permissive parse should have fetched the external schema and inlined its default attribute.");
