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


The following commit(s) were added to refs/heads/main by this push:
     new 7107fa1  Fix broken English.
7107fa1 is described below

commit 7107fa10b6958cd03823f591ab5549f2d0bf0e36
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Sep 1 14:03:24 2026 -0400

    Fix broken English.
---
 .../org/apache/commons/xml/secure/SecureDocumentBuilderFactory.java     | 2 +-
 src/main/java/org/apache/commons/xml/secure/SecureSAXParserFactory.java | 2 +-
 src/main/java/org/apache/commons/xml/secure/SecureSchemaFactory.java    | 2 +-
 .../java/org/apache/commons/xml/secure/SecureTransformerFactory.java    | 2 +-
 src/main/java/org/apache/commons/xml/secure/SecureXMLInputFactory.java  | 2 +-
 src/main/java/org/apache/commons/xml/secure/SecureXPathFactory.java     | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/xml/secure/SecureDocumentBuilderFactory.java 
b/src/main/java/org/apache/commons/xml/secure/SecureDocumentBuilderFactory.java
index f56e727..f9ab73d 100644
--- 
a/src/main/java/org/apache/commons/xml/secure/SecureDocumentBuilderFactory.java
+++ 
b/src/main/java/org/apache/commons/xml/secure/SecureDocumentBuilderFactory.java
@@ -200,7 +200,7 @@ private static DocumentBuilderFactory makeNSAware(final 
DocumentBuilderFactory f
     /**
      * Returns a new, secure {@link DocumentBuilderFactory} of the 
system-default implementation.
      * <p>
-     * Obtained as by {@code DocumentBuilderFactory.newDefaultInstance()} 
where the platform provides it (Java 9 or later),
+     * Obtained from {@code DocumentBuilderFactory.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()} lookup where the platform 
provides neither
      * (for example, Android, whose lookup is itself pinned to the platform 
implementation).
diff --git 
a/src/main/java/org/apache/commons/xml/secure/SecureSAXParserFactory.java 
b/src/main/java/org/apache/commons/xml/secure/SecureSAXParserFactory.java
index 32ec386..94ee20c 100644
--- a/src/main/java/org/apache/commons/xml/secure/SecureSAXParserFactory.java
+++ b/src/main/java/org/apache/commons/xml/secure/SecureSAXParserFactory.java
@@ -192,7 +192,7 @@ private static SAXParserFactory makeNSAware(final 
SAXParserFactory factory) {
     /**
      * Returns a new, secure {@link SAXParserFactory} of the system-default 
implementation.
      * <p>
-     * Obtained as by {@code SAXParserFactory.newDefaultInstance()} where the 
platform provides it (Java 9 or later),
+     * Obtained from {@code SAXParserFactory.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()} lookup where the platform 
provides neither
      * (for example, Android, whose lookup is itself pinned to the platform 
implementation).
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 c5c2719..2f942ca 100644
--- a/src/main/java/org/apache/commons/xml/secure/SecureSchemaFactory.java
+++ b/src/main/java/org/apache/commons/xml/secure/SecureSchemaFactory.java
@@ -216,7 +216,7 @@ 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 as by {@code SchemaFactory.newDefaultInstance()} where the 
platform provides it (Java 9 or later), by instantiating the JDK's built-in
+     * 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,
      * whose lookup falls back to exactly the Xerces implementation this 
library recognizes).
      * </p>
diff --git 
a/src/main/java/org/apache/commons/xml/secure/SecureTransformerFactory.java 
b/src/main/java/org/apache/commons/xml/secure/SecureTransformerFactory.java
index 01cec45..78edf6f 100644
--- a/src/main/java/org/apache/commons/xml/secure/SecureTransformerFactory.java
+++ b/src/main/java/org/apache/commons/xml/secure/SecureTransformerFactory.java
@@ -416,7 +416,7 @@ public void setURIResolver(final URIResolver resolver) {
     /**
      * Returns a new, secure {@link TransformerFactory} of the system-default 
implementation.
      * <p>
-     * Obtained as by {@code TransformerFactory.newDefaultInstance()} where 
the platform provides it (Java 9 or later), and by instantiating the JDK's 
built-in
+     * Obtained from {@code TransformerFactory.newDefaultInstance()} where the 
platform provides it (Java 9 or later), and by instantiating the JDK's built-in
      * implementation directly on Java 8.
      * </p>
      *
diff --git 
a/src/main/java/org/apache/commons/xml/secure/SecureXMLInputFactory.java 
b/src/main/java/org/apache/commons/xml/secure/SecureXMLInputFactory.java
index 83ff383..1c69831 100644
--- a/src/main/java/org/apache/commons/xml/secure/SecureXMLInputFactory.java
+++ b/src/main/java/org/apache/commons/xml/secure/SecureXMLInputFactory.java
@@ -261,7 +261,7 @@ public void setXMLResolver(final XMLResolver resolver) {
     /**
      * Returns a new, secure {@link XMLInputFactory} of the system-default 
implementation.
      * <p>
-     * Obtained as by {@code XMLInputFactory.newDefaultFactory()} where the 
platform provides it (Java 9 or later), and by instantiating the JDK's built-in
+     * Obtained from {@code XMLInputFactory.newDefaultFactory()} where the 
platform provides it (Java 9 or later), and by instantiating the JDK's built-in
      * implementation directly on Java 8.
      * </p>
      *
diff --git 
a/src/main/java/org/apache/commons/xml/secure/SecureXPathFactory.java 
b/src/main/java/org/apache/commons/xml/secure/SecureXPathFactory.java
index 7065dab..b324971 100644
--- a/src/main/java/org/apache/commons/xml/secure/SecureXPathFactory.java
+++ b/src/main/java/org/apache/commons/xml/secure/SecureXPathFactory.java
@@ -169,7 +169,7 @@ public void setXPathVariableResolver(final 
XPathVariableResolver resolver) {
     /**
      * Returns a new, secure {@link XPathFactory} of the system-default 
implementation, supporting the default XPath object model.
      * <p>
-     * Obtained as by {@code XPathFactory.newDefaultInstance()} where the 
platform provides it (Java 9 or later), and by instantiating the JDK's built-in
+     * Obtained from {@code XPathFactory.newDefaultInstance()} where the 
platform provides it (Java 9 or later), and by instantiating the JDK's built-in
      * implementation directly on Java 8.
      * </p>
      *

Reply via email to