This is an automated email from the ASF dual-hosted git repository.
garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-digester.git
The following commit(s) were added to refs/heads/master by this push:
new 4e0e72e9 Use new API newNSInstance().
4e0e72e9 is described below
commit 4e0e72e9b891d7c6065fc81b00f8f57a11f4b131
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Sep 8 17:06:11 2026 -0400
Use new API newNSInstance().
---
.../test/java/org/apache/commons/digester3/TestEntityResolution.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/commons-digester3-core/src/test/java/org/apache/commons/digester3/TestEntityResolution.java
b/commons-digester3-core/src/test/java/org/apache/commons/digester3/TestEntityResolution.java
index 021d02ad..98cc800f 100644
---
a/commons-digester3-core/src/test/java/org/apache/commons/digester3/TestEntityResolution.java
+++
b/commons-digester3-core/src/test/java/org/apache/commons/digester3/TestEntityResolution.java
@@ -45,9 +45,8 @@ public class TestEntityResolution
void testParserResolveRelative()
throws Exception
{
- final SAXParserFactory factory = SecureSAXParserFactory.newInstance();
+ final SAXParserFactory factory =
SecureSAXParserFactory.newNSInstance();
factory.setValidating( true );
- factory.setNamespaceAware( true );
final SAXParser parser = factory.newSAXParser();
parser.parse( new File(
"src/test/resources/org/apache/commons/digester3/document-with-relative-dtd.xml"
),