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-secure-xml.git

commit f1ca3b8e6e90d120c81037867467dd54732f0127
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Sep 14 15:51:03 2026 -0700

    Javadoc
---
 .../java/org/apache/commons/xml/secure/SecureSchemaFactory.java     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/xml/secure/SecureSchemaFactory.java 
b/src/main/java/org/apache/commons/xml/secure/SecureSchemaFactory.java
index 7635ee6..04b5100 100644
--- a/src/main/java/org/apache/commons/xml/secure/SecureSchemaFactory.java
+++ b/src/main/java/org/apache/commons/xml/secure/SecureSchemaFactory.java
@@ -214,14 +214,14 @@ public void setResourceResolver(final LSResourceResolver 
resourceResolver) {
      * Returns a new, secure {@link SchemaFactory} of the system-default 
implementation, supporting W3C XML Schema 1.0.
      * <p>
      * Obtained from {@code SchemaFactory.newDefaultInstance()} where the 
platform provides it (Java 9 or later), by instantiating the JDK's built-in
-     * implementation directly on Java 8, and by the standard {@link 
#newInstance(String)} lookup where the platform provides neither (for example 
Android,
+     * implementation directly on Java 8, and by the standard {@link 
#newInstance(String)} lookup where the platform provides neither (for example, 
Android,
      * whose lookup falls back to exactly the Xerces implementation this 
library recognizes).
      * </p>
      *
      * @return A secure factory.
      * @throws IllegalStateException    Thrown if a required secure setting 
cannot be applied to the underlying implementation.
      * @throws IllegalArgumentException Thrown from the {@link 
#newInstance(String)} lookup this method falls back to on a platform that 
provides neither
-     *                                 {@code newDefaultInstance()} nor the 
JDK's built-in implementation (for example Android).
+     *                                 {@code newDefaultInstance()} nor the 
JDK's built-in implementation (for example, Android).
      */
     public static SchemaFactory newDefaultInstance() {
         if (MH_newDefaultInstance != null) {
@@ -267,7 +267,7 @@ public static SchemaFactory newInstance(final String 
schemaLanguage, final Strin
     /**
      * Secures a {@link SchemaFactory}.
      *
-     * <p>Unlike the other factory types there is no per-implementation 
branching: schema compilation and validation reach external resources only 
through the
+     * <p>Unlike the other factory types, there is no per-implementation 
branching: schema compilation and validation reach external resources only 
through the
      * resolver hook, so wrapping the factory with a non-removable ignore-all 
resolver floor is enough on every implementation. The reader used to parse 
schema
      * and instance documents is secured separately, through {@link 
SecureSAXParserFactory#secure(javax.xml.transform.Source, boolean)}; the 
factory carries
      * {@code FEATURE_SECURE_PROCESSING} for the one limit that reader cannot 
supply, the loader's content-model expansion.</p>

Reply via email to