Greetings, I have an element <a> that contains text data inside of it:
<a><![CDATA[ bla bla bla bla ..]]> </a> When I unmarshalling xml data with castor (0.9.5.3) I detect that it was ignoring badly the white spaces. For instance, the following XML: <a><![CDATA[ plenty of text here ... problem after THIS WORD ... more text ]]> </a> In debug, I saw that castor called several times the event "#characters" when reading the text. However, somehow it's ignoring the following blank spaces after the word "THIS" and/or it's ignoring the blank spaces before "WORD"!! castor debug: .. #characters: ... problem after THIS #characters: WORD ... more text .. The final result when I get the data form the element is wrong because it gives the following result: "plenty of text here ... problem after THISWORD ... more text" There is no space between "THIS" and "WORD" !! This white space shouldn't be ignored. The workaround for me is disabling the ignoring blank spaces, but is just a bad work around. I'm reporting this to you because I think it is a bug. Thanks, Pedro Salazar. -- Pedro Salazar pedro-b-salazar \at ptinovacao \dot pt PGP 0xD803BC61 http://pgp.mit.edu/ ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
