You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by zhang min <ch...@ulis.ac.jp> on 2002/07/16 08:39:59 UTC

xupdate by local characters

Hello:

i try to use xupdate command with xindice. the program is the same as that
provided  in
http://xml.apache.org/xindice/DevelopersGuide.html

when i used update string in english characters as fellow it worked very
fine.
<xupdate:modifications version="1.0"
            xmlns:xupdate="http://www.xmldb.org/xupdate">
  <xupdate:update select="/student/grad_student[name='nakata']/area" >
       football
  </xupdate:update>
</xupdate:modifications>

but when changed the string 'football' into Japanese characters encoded by
unicode or EUC-JP.
i get this result:
org.omg.CORBA.DATA_CONVERSION:   minor code: 1398079494  completed: No
        at
com.sun.corba.se.internal.iiop.CDROutputStream.write_string(CDROutputStream.
java:386)
        at
org.apache.xindice.client.corba.db.ValueHelper.write(ValueHelper.java:82)
        at
org.apache.xindice.client.corba.db._CollectionStub.queryCollection(_Collecti
onStub.java:817)
        at
org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.updateResul
t(XUpdateQueryServiceImpl.java:165)
        at
org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.update(XUpd
ateQueryServiceImpl.java:185)
        at XUpdate.main(XUpdate.java:28)
XML:DB Exception occured 1

my system is RedHatLinux6.2 with jdk1.3.1 and xindice1.0.

Thanks for any help.

Zhangmin chaom@ulis.ac.jp