Skip to content

Conversation

harawata
Copy link
Member

When using XML script in annotation (e.g. @Select("<script>...</script>")), the XML parser's validation is disabled.
There are other error cases (e.g. invalid attributes) which are undetectable with the current implementation, but it is not our goal to implement full-featured XML validation logic, IMHO.

Should fix #3455

When using XML script in annotation (e.g. `@Select("<script>...</script>")`), the XML parser's validation is disabled.
There are other error cases (e.g. invalid attributes) which are undetectable with the current implementation, but it is not our goal to implement full-featured XML validation logic, IMHO.
@coveralls
Copy link

coveralls commented Apr 22, 2025

Coverage Status

coverage: 87.297% (+0.002%) from 87.295%
when pulling 8564026 on harawata:3455-unknown-elem-in-choose
into 294aa35 on mybatis:master.

@harawata harawata self-assigned this Apr 23, 2025
@harawata harawata merged commit a0ce555 into mybatis:master Apr 23, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

In annotation, unknown element inside <choose> is silently ignored
2 participants