|
I was wondering if there is a preferred way to handle
whitespace contained in element values in an XML document from within jibx? For example: I have <structure name="Item" field="item"> <value name="FieldA" field="fieldA" /> <value name="FieldB" field="fieldB" usage="optional"/> </structure> That corresponds
to the xml of <Item> <FieldA>5555</FieldA> <FieldB> E000028901 </FieldB> </ItemID> Notice the whitespace that is in the FieldB element. I
could easily have the bean that this binding maps to handle the “trim”
operation, but should I perhaps consider the use of a deserializer, or other
mechanism within jibx itself? Or perhaps I am splitting hairs…. Any comments are appreciated. Ray |
- [jibx-users] whitespace handling of String Raymond N. Ritz
- Re: [jibx-users] whitespace handling of String Dennis Sosnoski
