You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Stan Ou <jo...@yahoo.com> on 2005/09/07 19:40:03 UTC
dtd problem after upgraded to ibatis 2.1.5
Hi,
I just upgraded to ibatis 2.1.5 yesterday and
encountered a dtd validation error that never occurred
in the previous version (2.1.0). After fighting with
it for several hours, I had to switch back. So I
don't have the stacktrace in front of me but the error
msg is something along the line of:
>>>
content of <resultMap> is incomplete, it should
contain(result+, discriminator?).
>>>
I stripped down my sqlmap file for testing purpose and
it still failed the parsing. Here's my sqlmap:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map
2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap namespace="sensor">
<resultMap id="sensorRefCommonResult"
class="mil.navy.spawar.bfisr.programaccess.vo.Sensorrefcommon">
<result property="sensorRefId"
column="sensorRefId"/>
<result property="sensorName"
column="sensorName"/>
</resultMap>
</sqlMap>
any help is appreciated.thx
stan
______________________________________________________
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/