scala - XML values gets shifted -
i'm constructing xml below format:
<mainentity a={object.value} b={object.value0.ornull} c={object.value1.ornull} d={object.value2.ornull}></mainentity>
input before construction: 1) read data nosql db, 2) convert object , construct entity 3) write file.
question: in very rare scenario's, see mainentity has 4 attributes. get's populated of time correctly. in scenarios, value of "b" attribute spilled "c" attribute , "c" gets populated in "d" , on!!!!
if try reproduce same, doesn't happen.
eg:
expected: <mainentity a="abc" b="def" c="123" d="abc"></mainentity> in scenarios: <mainentity a="abc" b="d" c="ef" d="123"></mainentity>
has encountered this? can throw lights on this?
Comments
Post a Comment