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 ec24efe6b2f2e46b648abd186da83191ba229585 Author: Gary Gregory <[email protected]> AuthorDate: Fri Aug 28 13:54:18 2026 -0400 Javadoc: "hardened" -> "secured" wording to match new class and method names. --- src/test/java/org/apache/commons/xml/SchemaLocationDomTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/apache/commons/xml/SchemaLocationDomTest.java b/src/test/java/org/apache/commons/xml/SchemaLocationDomTest.java index 851432d..fe2b37b 100644 --- a/src/test/java/org/apache/commons/xml/SchemaLocationDomTest.java +++ b/src/test/java/org/apache/commons/xml/SchemaLocationDomTest.java @@ -36,11 +36,11 @@ import org.xml.sax.helpers.DefaultHandler; /** - * Checks that a hardened {@link DocumentBuilderFactory} performing JAXP 1.2 XSD validation does not fetch an external schema named by an + * Checks that a secure {@link DocumentBuilderFactory} performing JAXP 1.2 XSD validation does not fetch an external schema named by an * {@code xsi:noNamespaceSchemaLocation} hint in the instance document. * * <p>The instance is empty {@code <root/>}; the referenced schema declares a default {@code leak} attribute carrying {@link AttackTestSupport#LEAKED_MARKER}. A - * parser that fetches the schema inlines that default into the DOM (the permissive control), while a hardened parser resolves the schema reference to empty + * parser that fetches the schema inlines that default into the DOM (the permissive control), while a secure parser resolves the schema reference to empty * content instead. Either the empty schema makes the validating parse fail, or the parse completes but the default is never inlined; either way the marker never * reaches the DOM.</p> *
