Thanks for your swift reply. I would be very glad to support you with a test case, but right now I have to much to do in the project, so I don't have time to create the test case for you. I sent my question in the previous e-mail hoping for it being a know bug and that a solution would already be available. For the time being I will instead use the workaround I mentioned in the previous email. I will try to create a unit test as soon as possible create a new Jira issue as I really like this project and we use it a lot and I think it would only be fair to contribute back to it.
Regards, Kristian 2008/9/16 Werner Guttmann <[EMAIL PROTECTED]> > 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 > > >

