This shows up in the new demo page. Note that it's fine if the object doesn't hasOwnProperty, but once it's been set to be the same as the defaultValue then it gets sent over the wire.
XMLUtil, by contrast, is comparing against the defaultValue and only sending the property if they differ.
I'm not sure what the intended behavior is, but either way one of them is doing it wrong.
This shows up in the new demo page. Note that it's fine if the object doesn't
hasOwnProperty
, but once it's been set to be the same as thedefaultValue
then it gets sent over the wire.XMLUtil
, by contrast, is comparing against thedefaultValue
and only sending the property if they differ.I'm not sure what the intended behavior is, but either way one of them is doing it wrong.