I am also experiencing the same issue with line feeds and spaces in an attribute value.
As I read the XML spec, these characters are permitted in the attribute value, but must be normalized (converted to ). If so wouldn't that be the responsibility of the JAXB marshaller?
Am I missing something here?
Thanks
>Kohsuke Kawaguchi wrote:
>> Thomas Roschi wrote:
>> Yes. The string i'm talking from is an attribute:
>>
>> Does any one know how i can parse the xml and keep this new lines? The
>> text is preformatted ascii.
>
>You can't. That's what the XML spec says.
>
>See http://www.w3.org/TR/REC-xml/#AVNormalize
________________________________________
Ron Marchi
TEAMCENTER, Platform
Web Services Framework
UGS, The PLM Company
________________________________________