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 93d25e3743710e162b6d1295eeb51a6d715cec3c Author: Gary Gregory <[email protected]> AuthorDate: Fri Aug 28 13:50:08 2026 -0400 Javadoc: "hardened" -> "secured" wording to match new class and method names. --- src/test/java/org/apache/commons/xml/ExternalDtdTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/apache/commons/xml/ExternalDtdTest.java b/src/test/java/org/apache/commons/xml/ExternalDtdTest.java index 4d4117c..26c771f 100644 --- a/src/test/java/org/apache/commons/xml/ExternalDtdTest.java +++ b/src/test/java/org/apache/commons/xml/ExternalDtdTest.java @@ -25,12 +25,12 @@ * Checks whether parsers can pull in an external DTD declared via {@code <!DOCTYPE root SYSTEM "...">}. * * <p>The wrapper points at {@code src/test/resources/leaked/referenced.dtd}, which declares a {@code leaked} entity. Each wrapper body references - * {@code &leaked;}, so the entity can only resolve if the DTD is actually fetched: a hardened parser resolves the external subset to empty, leaving + * {@code &leaked;}, so the entity can only resolve if the DTD is actually fetched: a secure parser resolves the external subset to empty, leaving * {@code &leaked;} undeclared, and skips the undefined reference (per XML 1.0 section 4.1 an undeclared reference is a validity constraint when the DOCTYPE * has a system identifier, so a non-validating parse completes); an unconfigured parser fetches the DTD, the entity resolves, and the parse succeeds. The one * exception is Woodstox, which rejects undeclared references unconditionally, so the StAX case accepts a block as well.</p> * - * <p>Each parser type is exercised twice as a pair (unconfigured factory, expected to parse; hardened factory, expected to complete without leaked + * <p>Each parser type is exercised twice as a pair (unconfigured factory, expected to parse; secure factory, expected to complete without leaked * content):</p> * * <ul>
