Quantcast
Channel: JAXB unmarshal deletes newline - Stack Overflow
Browsing latest articles
Browse All 2 View Live

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 Article



JAXB 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
Browsing latest articles
Browse All 2 View Live




Latest Images