mybites 大于 小于符号的情况
2015-09-28 11:17
225 查看
在写 mybites的xml文件时
写到该处时:
<if test="thirdUserName < 3 and thirdUserName != '' " >
and account like #{thirdUserName,jdbcType=VARCHAR}
</if>
xml文件提示:
The value of attribute "test" associated with an element type "if" must not contain the '<' character.错误
该错误表示 在该属性中不能包含"<"符号。
后经过查询资料得到:原来在xml中 不能使用 '>';'<'符号 要用'>';'<'代替;
资料地址:http://blog.163.com/zzf_fly/blog/static/209589158201382942849349/
写到该处时:
<if test="thirdUserName < 3 and thirdUserName != '' " >
and account like #{thirdUserName,jdbcType=VARCHAR}
</if>
xml文件提示:
The value of attribute "test" associated with an element type "if" must not contain the '<' character.错误
该错误表示 在该属性中不能包含"<"符号。
后经过查询资料得到:原来在xml中 不能使用 '>';'<'符号 要用'>';'<'代替;
资料地址:http://blog.163.com/zzf_fly/blog/static/209589158201382942849349/
相关文章推荐
- 三分钟教你学Git(十九) - 全局,用户,仓库作用域的配置文件
- Swift - 添加、修改、删除通讯录联系人
- Swift - 访问通讯录联系人(使用纯代码实现)
- XCode工程中ARC模式与非ARC模式共用(转)
- iOS 中的 xml 解析
- springmvc 上传文件
- 如何使用Mediawiki搭建个人wiki系统、以及wiki的部分基本操作和设置
- alloc与allocWithZone的用法区别
- JAVA实现json和对象间的相互转换,支持复杂对象格式
- Swift - 访问通讯录联系人(使用系统提供的通讯录交互界面)
- 8月~9月公有云故障事件
- 爸爸儿子和狗狗
- 渗透学习笔记--基础篇--sql注入(字符型)
- 深入理解Git(七) - 神秘的数据恢复
- Android HTTP Content-type( Mime-Type)对照表
- python的class是否继承object区别
- 转载 浅谈C/C++中的static和extern关键字
- JavaScript之作用域与闭包详解
- slice 、 substr 、substring的区别
- SQL语句优化 (二) (53)