I mistakenly posted this earlier on the Metro-JAXB forum. This is probably
the better place.
I have legacy data in which line breaks must be preserved in an element's
attribute. JAXB 2.1.4 marshalling writes such line breaks ok. Unmarshalling
loses them. My schema adds the restriction to the attribute of
<xs:whitespace value="preserve" />, but this has no effect on unmarshalling.
Is there a way thru the JAXBContext to configure the parser to respect such
whitespace? Is there another way to preserve line breaks in attribute values
on unmarshall?
--
View this message in context: http://www.nabble.com/Preserving-whitespace-in-attributes-on-unmarshalling-tp16973709p16973709.html
Sent from the java.net - jaxb users mailing list archive at Nabble.com.