Can you please supply us with a working test case that allows us to
reproduce this problem. As such, can I please ask you to create a new
Jira issue at

http://jira.codehaus.org/browse/CASTOR

and attach the (JUnit) test case.

Regards
Werner

Kristian Gustafsson wrote:
> Hi,
> 
> In the project I am working in we use XML schemas to generate code. Using
> that code we use the set method of the Castor object to add information. The
> objects are then marshalled using Marshaller.marshal(castorObject,
> stringWriter). I have indentation turned on using the Castor
> castor.properties file. The problem is that after marshal the element with
> text content where the text has two or more space characters will always
> have a CR/LF after the first space character. This causes problems in the
> target system for the XML. Fortunately this only happens when indent is set
> to true. Is there any way of avoiding this? For now on I will have indent
> turned off, but for debugging/loggin reasons I would like to always have it
> set to true.
> Btw, I am using Castor 1.2.
> 
> /Kristian
> 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to