In xml, if you use the less than sign (<) or the less than or equal sign (<=), it must be escaped, and the rest may not be escaped. Because the < (less than) sign and > (greater than) sign in the Mapper.xml file will be considered parentheses.
For example:
Measures: Just <
replace with<