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 <[email protected]>
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
}