You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2026/08/28 19:24:56 UTC

(commons-xml) branch main updated: Remove noisy inline comments.

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


The following commit(s) were added to refs/heads/main by this push:
     new 19103f9  Remove noisy inline comments.
19103f9 is described below

commit 19103f9e342f2406d6bc8d16a9148df636bd5dcd
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Aug 28 15:24:50 2026 -0400

    Remove noisy inline comments.
---
 src/test/java/org/apache/commons/xml/XIncludeTest.java | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/test/java/org/apache/commons/xml/XIncludeTest.java b/src/test/java/org/apache/commons/xml/XIncludeTest.java
index feaff18..19a469a 100644
--- a/src/test/java/org/apache/commons/xml/XIncludeTest.java
+++ b/src/test/java/org/apache/commons/xml/XIncludeTest.java
@@ -122,8 +122,6 @@ private static String xiIncludeXml(final String href, final String parseMode) {
                 + "</root>";
     }
 
-    //region Baseline: unhardened JAXP resolves the include
-
     @Test
     @Tag("dom")
     void baselineDomLeaksParseText() throws Exception {
@@ -320,10 +318,6 @@ void secureSaxBlocksParseXml() throws Exception {
         }, "Secured SAX parse=xml should throw");
     }
 
-    //endregion
-
-    //region hardenReader: reader with XInclude enabled before securing is blocked (the internal recipe behind the secure factory and SaxonProvider)
-
     @Test
     @Tag("sax")
     void secureSaxNullResolverDoesNotLeak() throws Exception {
@@ -368,5 +362,4 @@ void secureSaxWithAllowListResolvesParseXml() throws Exception {
                 "SAX parse=xml with allow-list should resolve to the resolver's content");
     }
 
-    //endregion
 }