Ibatis - Open quote is expected for attribute "{1}" associated with an element type '

昨天晚上提交的代码,今天运行起来,始终报错:app

 Open quote is expected for attribute "{1}" associated with an  element type 'id',查了半天,以为很奇怪。ide

回滚到昨天的代码,运行正常。通过compare代码,发现本身将ibatis配置文件App.xml的修改成了, 真是晕倒。不经意的笔误,害本身查了一个上午。spa

  
  
           
  
  
  1. <delete id=delete> 
  2.     <![CDATA[ 
  3.         DELETE FROM app WHERE 
  4.         id = #id#  
  5.     ]]> 
  6.     </delete> 

正确的为以下:xml

  
  
           
  
  
  1. <delete id="delete"> 
  2.     <![CDATA[ 
  3.         DELETE FROM app WHERE 
  4.         id = #id#  
  5.     ]]> 
  6.     </delete> 

靠...ci