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 d4b8741a8b5ba011e4bffc4b363a4c1270dd88f4 Author: Gary Gregory <[email protected]> AuthorDate: Fri Aug 28 17:42:18 2026 -0400 Javadoc: Use "secure" terminology. --- src/main/java/org/apache/commons/xml/SecureSAXParser.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/xml/SecureSAXParser.java b/src/main/java/org/apache/commons/xml/SecureSAXParser.java index 3bd88db..0b3b1b9 100644 --- a/src/main/java/org/apache/commons/xml/SecureSAXParser.java +++ b/src/main/java/org/apache/commons/xml/SecureSAXParser.java @@ -33,7 +33,7 @@ * {@link SAXParser} that exposes a secure {@link XMLReader} and a matching SAX 1 {@link Parser}. * * <p>Both views are produced from the same secure reader, so a caller reaching the parser through either the SAX 2 ({@link #getXMLReader()}) or the legacy - * SAX 1 ({@link #getParser()}) path gets the same hardening. The SAX 1 view matters because some consumers, such as Xalan's identity transformer, still ask + * SAX 1 ({@link #getParser()}) path gets the same securing. The SAX 1 view matters because some consumers, such as Xalan's identity transformer, still ask * for a {@link Parser}.</p> * * <p>The secure reader is computed lazily on first access and cached: secure an {@link XMLReader} can install a new wrapper (Android's Expat path), so @@ -104,7 +104,7 @@ public boolean isXIncludeAware() { @Override public void reset() { delegate.reset(); - // The JAXP reset contract reverts the delegate to its just-created state, which strips the post-creation reader hardening. + // The JAXP reset contract reverts the delegate to its just-created state, which strips the post-creation reader securing. // We reset the cached readers, so securing can be applied again. secureXMLReader = null; secureParser = null;
