From: vjaulin <vin...@aj...> - 2005-04-13 15:44:56
|
Hi all, During the xudpate processing, I have a problem with encoding. My xupdate query: <?xml version="1.0" encoding="UTF-8"?> <xu:modifications xmlns:xu="http://www.xmldb.org/xupdate" version="1.0"> <xu:insert-after select="/list/item[@code='tu']"> <xu:element name="item"> <xu:attribute name="code">tu</xu:attribute> <xu:element name="label"> <xu:attribute name="xml:lang">bg</xu:attribute>tutuéd</xu:element> </xu:element> </xu:insert-after> </xu:modifications> My resource before: <?xml version="1.0" encoding="UTF-8"?> <list xmlns:xdepo="http://xdepo.org/xdepo/1.0" xdepo:datatype="datatypes/default/list/forms/form2" xdepo:id="liste_test" xdepo:savetype="set" xdepo:timestamp="1113388115882"> <item code="tu"> <label xml:lang="bg">tutu</label> </item> </list> My resource after the xupdate: <?xml version="1.0" encoding="UTF-8"?> <list xmlns:xdepo="http://xdepo.org/xdepo/1.0" xdepo:datatype="datatypes/default/list/forms/form2" xdepo:id="liste_test" xdepo:savetype="set" xdepo:timestamp="1113388115882"> <item code="tu"> <label xml:lang="bg">tutuéd</label> </item> </list> The xupdate processing reencodes in utf-8 (tutuéd --> tutuéd). Any suggestions ? Best Regards. -- Vincent Jaulin Ingénieur Informatique AJLSM |