Answer by bdoughan for JAXB unmarshal deletes newline
An XML parser (including JAXB) will not preserve a newline in an XML attribute. http://www.w3.org/TR/REC-xml/#sec-line-endsYou will need to move this content to an XML element instead.
View ArticleJAXB unmarshal deletes newline
I have a string with newlines in an attribute parameter :<rule-parameter formattingMethod="NO_FORMATTING_METHOD" type="String" value="Hello, My name is luba. How are you?"/>When I unmarshal this...
View Article
More Pages to Explore .....