Re: [jibx-users] accessing the stack in a binding

2004-07-06 Thread Tilman Linden
Am Mo, den 05.07.2004 schrieb Dennis Sosnoski um 19:42: Looks like you're doing some very warped things with JiBX (and I mean that in a good way, I think)! yes, things can get warped when you have an existing XML-Schema, DOM Parser, Java-Code not matching the structure and shall add code for

Re: [jibx-users] accessing the stack in a binding

2004-07-06 Thread Dennis Sosnoski
I think I was suffering from coffee deprivation when I suggested the get-method - I plan to add support for passing the containing object on both normal get/set methods and on the collection methods, but it's not there yet. Sorry for pointing you in the wrong direction. - Dennis Tilman Linden

Re: [jibx-users] DomElementMapper fails

2004-07-06 Thread Dennis Sosnoski
Somehow the elements you're trying to marshal appear to have a namespace set. If you want to marshal them as though they were not in any namespace you can modify your own version of the DomElementMapper/DomMapperBase code to always use the nonamespace index (which will always be 0) when

Re: [jibx-users] DomElementMapper fails

2004-07-06 Thread Dennis Sosnoski
Tilman Linden wrote: Am Di, den 06.07.2004 schrieb Dennis Sosnoski um 19:08: Somehow the elements you're trying to marshal appear to have a namespace set. If you want to marshal them as though they were not in any namespace you can modify your own version of the

[jibx-users] issue with encoding

2004-07-06 Thread HD
I tried to use the UTF-8 and ISO-8859-1 encodings but there seems to be some strange things happening with the output encoding: all the french accents generate these strange characters. For instance: rte st Antoine de Ginestire becomes CT_Adresserte Saint Antoine de

Re: [jibx-users] issue with encoding

2004-07-06 Thread Dennis Sosnoski
I see that there's an error in the encoding handling that I'd missed. Most of the test cases are just using ASCII characters, though I thought I had a few that went outside the set. I'll get it fixed in CVS as soon as I can, and will also add it to the test suite. If you can get a simple

Re: [jibx-users] issue with encoding

2004-07-06 Thread Dennis Sosnoski
Actually, the problem I noticed is only for ISO-8859-1 - do you also see a problem when using UTF-8? - Dennis Dennis Sosnoski wrote: I see that there's an error in the encoding handling that I'd missed. Most of the test cases are just using ASCII characters, though I thought I had a few that

Re: [jibx-users] issue with encoding

2004-07-06 Thread HD
WIth UTF-8, it seems like when the XML file is read, the encoding is not taken into account and all UTF-8 escape characters are not translated backwards... So I don't get the same bug as ISO-8859-1 but accents are not translated back into accents. Henri. Dennis Sosnoski dms-at-sosnoski.com