Running existing unit tests error #3502
-
I forked the current main branch, but when I run XmlConfigBuilderTest::shouldSuccessfullyLoadXMLConfigFile, it reports an error: Error creating document instance. Cause: org.xml.sax.SAXParseException; lineNumber: 21; columnNumber: 124; the document's root element "configuration" must match the DOCTYPE root "null". If I add DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "https://mybatis.org/dtd/mybatis-3-config.dtd" and remove the attribute configuration from the configuration tag, it runs fine. What is the reason for this? Is it related to the JDK version? ![]() |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
That test has |
Beta Was this translation helpful? Give feedback.
That test has
@Disabled
annotation which means it is skipped for the moment.mybatis-3/src/test/java/org/apache/ibatis/builder/xsd/XmlConfigBuilderTest.java
Line 61 in 91054ba