It's not the unmarshaller that changes the text content, or I'd probably give you a way of disabling it (with suitable warnings, of course). It's in the actual parser operation. To bypass it you'd have to hack the XPP3 parser. This might not be all that difficult, but it's probably easier in the long run if you just add the 0xD back in yourself.
You could even use a <format> for this purpose. That way you'd just need a static deserializer method that looks for the 0xA values and inserts a leading 0xD, and you could specify that <format> for each string that needed this processing.
- Dennis
Stefano Fornari wrote:
Hi Dennis,
I am really starting to hate XML in general grrrrr...... but it is not your fault, your JiBX is great.
BTW, it is in unmarshaling the XML document into objects. Honestly, regardless what the specs say, I find very annoying that the unmarshaller changes in any way the content of an element. Maybe I can just fix it in the code, if you give me an hint of the classes I have to look at.
Thanks a lot.
Cheers, Stefano
------------------------------------------------------- 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
