Angel,

did you think about utilizing the DomElementMapper from the
org.jibx.extras package to (un)marshal the XmlResultSet? Or has that
nothing to do with DOM?

Tilman

> 
> The better way of handling this is with a custom marshaller/unmarshaller 
> for your XmlResultSet, where you can work at the level of elements, 
> attributes, and character data, and JiBX will handle the XML details for 
> you. 
> That way you'll be able to unmarshal the data back to objects, too, 
> while if you just write it out there's no way for JiBX to unmarshal it 
> for you.
> 
>   - Dennis
> 
> ÎÎÎÎÎÎÏ ÎÎÏÎÎÏÎÎÎÎÏ wrote:
> 
> >Would that explain this ?
> >
> ><?xml version="1.0" encoding="UTF-8"?>
> ><dresp-message>
> >    <class-name>gr.talent.messaging.message.DataResponseMessage</class-name>
> >    <user-hash/>
> >    <data>&lt;result-set
> >row-count='1'&gt;&lt;row&gt;&lt;l_code01&gt;A1280000&lt;/l_code01&gt;&lt;lab
> >elname&gt;Î?Î-ÎÂÎ.ÎÂÎÂ
> >Î>Î.ÎÂÎÂ.&lt;/labelname&gt;&lt;streettype&gt;AVE.&lt;/streettype&gt;&lt;r_el
> >ta&gt;14578&lt;/r_elta&gt;&lt;length&gt;134.772&lt;/length&gt;&lt;r_code01&g
> >t;A1610000&lt;/r_code01&gt;&lt;r_code91&gt;A2110100&lt;/r_code91&gt;&lt;clas
> >s_id&gt;3&lt;/class_id&gt;&lt;l_code91&gt;A2100800&lt;/l_code91&gt;&lt;l_elt
> >a&gt;14671&lt;/l_elta&gt;&lt;avenue_id&gt;3&lt;/avenue_id&gt;&lt;/row&gt;&lt
> >;/result-set&gt;</data>
> >    <recordCount>1</recordCount>
> ></dresp-message>
> >
> >.. within the DataResponseMessage class - which is marshalled using JiBX -
> >there is an XmlResultSet class which I serialize myself, but I've set my
> >encoding to be the Greek character set. Would that explain the &lt; instead
> >of  "<" etc. and the garbled Greek string values in the xml ?
> >



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
jibx-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jibx-users
  • ... Άγγελος Καράντζαλης
    • ... Dennis Sosnoski
      • ... Άγγελος Καράντζαλης
        • ... Dennis Sosnoski
          • ... Tilman Linden
          • ... Άγγελος Καράντζαλης

Reply via email to