The content of elements must consist of well-formed character data or markup.
MyBbatis 쿼리문에서 부등호(<,>) 사용시 발생하는 에러입니다.
쿼리문에서 <select></select> 처럼 사용하기 때문에 부등호를 사용하면 에러가 납니다.
때문에 해당 부등호가 쿼리에 사용 될 수 있도록 <![CDATA[ 내용 ]]> 으로 감싸줍니다
아래는 예시입니다.
<select id="getdate" resultType="Map">
<![CDATA[
select name
from user
where age > 20
]]>
</select>