---
title: " ibatis The string \"--\" is not permitted "
author: "Althars"
date: "2008-07-18T14:59:14Z"
tags: []
slug: "ibatis-the-string-is-not-permitted"
draft: false
lastmod: "2008-07-18T14:59:14Z"
id: 216161
url: "https://althars.iteye.com/blog/216161"
---

The string "--" is not permitted within comments ibatis 在jdk-1_5_0_04中能正常，而在jdk1.6.0_03会错删除注释是一种方法
另，原因已找到<!- 单数个中文>形式的,单数个中文后以"->"结束会出错