Replies: 1 comment
-
Think I posted this in the wrong place, sorry. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The xmlHandler equality operator "==" evaluates undefined and null values as true as follows:
xmlHandler.js, Lines 165-173
It would be preferable to set the xsi:nil = true only for null values and not undefined values.
If we exclude undefined values from the block above undefined values are shown in the XML as follows:
<some_attribute/>
Suggest using the type safe equality operator so it only evaluates null as true:
The new code allows strong-soap to set a xsi:nil=true when null is passed as a value or an empty XML tag.
Not sure how the empty XML tag would be passed otherwise.
Seems like a fairly major change if users are used to xsi:null=true being set if they pass through undefined currently, thoughts on this?
Beta Was this translation helpful? Give feedback.
All reactions