Hi,
dgbabe wrote:
> Hi all,
>
> When marshalling an object I loose CR LF (\r \n) characters in a string
> part of the obect. Below is stack dump of what happens (inside castor) after
> my code performs marshaller.marshal(myObject); When returning in own code
> the cr-lf chars are gone in the marshalled object.
>
> I am using castor 0.96 (can not upgrade quickly here cause someone made some
> undocumented changes in the past inside castor ...) and java 5.
I am sorry we cannot be of any help to you in this case. Since the
release of 0.9.6, a few years have passed, and we have made available
numerous major and minor releases, incl. - amongst others - a lot of bug
fixes. In other words, we don't want to be spending time on old releases
anymore.
It's not like you have to switch to release 1.3, if Java 5.0 is a
problem for you. Have a look at 1.2, which perfectly fine works with
Java 1.4.
Regards
Werner
>
> Any has an idea how to avoid this ?
>
> Thx
>
> IndentPrinter.flushLine(boolean) line: 329
> IndentPrinter.printSpace() line: 233
> XMLSerializer(BaseMarkupSerializer).printText(char[], int, int,
> boolean, boolean) line: 1311
> XMLSerializer(BaseMarkupSerializer).characters(char[], int, int)
> line: 519
> Marshaller.marshal(Object, XMLFieldDescriptor, ContentHandler)
> line: 1499
> Marshaller.marshal(Object, XMLFieldDescriptor, ContentHandler)
> line: 1711
> Marshaller.marshal(Object, XMLFieldDescriptor, ContentHandler)
> line: 1705
> Marshaller.marshal(Object, XMLFieldDescriptor, ContentHandler)
> line: 1711
> Marshaller.marshal(Object, XMLFieldDescriptor, ContentHandler)
> line: 1705
> Marshaller.marshal(Object, XMLFieldDescriptor, ContentHandler)
> line: 1711
> Marshaller.marshal(Object) line: 816
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email