Hi the spec says that the root attribute has no default[1], but the
schema[2] has it with a default of 0.
Also, i find the wording somewhat mindbending
True roots of an object graph have the implied attribute value of "1".
Serialization roots that are not true roots can be labeled as
serialization roots with an attribute value of "1"
An element can explicitly be labeled as not being a serialization root
with a value of "0".
So the value of "1" has two different meanings ? ( true roots, and not
true roots ), whilst "0" means not a root ?
My current plan is to put enc:root="1" on the element that is the
serialization root (for RPC the method call or response element), and
to not include it on all others, does this seems correct ?
Cheers
Simon
[1] http://www.w3.org/TR/SOAP/#_Toc478383501
[2] http://schemas.xmlsoap.org/soap/encoding/