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><result-set
row-count='1'><row><l_code01>A1280000</l_code01><lab
elname>Ξ?Ξ-Ξ£Ξ.ΩΣ
Ξ>Ξ.ΩΦ.</labelname><streettype>AVE.</streettype><r_el
ta>14578</r_elta><length>134.772</length><r_code01&g
t;A1610000</r_code01><r_code91>A2110100</r_code91><clas
s_id>3</class_id><l_code91>A2100800</l_code91><l_elt
a>14671</l_elta><avenue_id>3</avenue_id></row><
;/result-set></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 < instead
of "<" etc. and the garbled Greek string values in the xml ?
Thanks again,
Angel
O:]
----- Original Message -----
From: "Dennis Sosnoski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 11, 2004 7:34 PM
Subject: Re: [jibx-users] Possible Encoding issue ?
> This could certainly be a problem if you're working with streams. Even
> if your XML fragments are well-formed documents (basically just a single
> element, with children), if your character encoding is something other
> than UTF-8 it won't be recognized unless you either specify the encoding
> when you supply the input stream to the unmarshaller or add an XML
> declaration to the start of the fragment that gives the encoding.
>
> - Dennis
>
> Άγγελος Καράντζαλης wrote:
>
> >Is there a possibility that JiBX will fail to unmarshall the xml if a
weird
> >encoding is used ? For instance, I try to umarshall an xml fragment that
> >might contain Greek characters. During Unmarshalling I get an exception
with
> >message:
> >Error on line 1: The markup in the document preceding the root element
must
> >be well-formed.
> >
> >Cheers,
> >
> >Angel
> >O:]
> >
> >
>
>
> -------------------------------------------------------
> 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
>
>
-------------------------------------------------------
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