Description
SQLe Version
sqle main
Describe the bug
解析MyBatis XML文件报错 data is invalid,当otherwise标签内有等其他嵌套标签时。测试用例:
<mapper namespace="Test">
<select id="testChoose">
SELECT
*
FROM
fruits
<where>
<choose>
<when test="name != null">
AND name = #{name}
</when>
<otherwise>
<if test="price != null and price !=''">
AND price = ${price}
</if>
</otherwise>
</choose>
</where>
</select>
</mapper>
Expected behavior
期望正常解析