Search the web
Sign In
New User? Sign Up
soapbuilders
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
root attribute default   Message List  
Reply Message #3795 of 10820 |
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/



Sun Jun 10, 2001 6:13 pm

soap@...
Send Email Send Email

Message #3795 of 10820 |
Expand Messages Author Sort by Date

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...
Simon Fell
soap@...
Send Email
Jun 10, 2001
6:14 pm

... The bit I don't get is how one recognizes a "true" root. Given: <Body> <a root="1">a</a> <b>b</b> <c root="0">c</c> </Body> (assume there's an Envelope...
Brian L. Matthews
blm@...
Send Email
Jun 10, 2001
7:21 pm

... on reflection, probably a good idea. Cheers Simon...
Simon Fell
soap@...
Send Email
Jun 10, 2001
7:35 pm

Hi, Brian! ... I would say that the very first element that is not marked as non-root (root="0") is root. Otherwise it might be difficult (if not impossible)...
Paul Kulchenko
paulclinger@...
Send Email
Jun 11, 2001
12:44 am

... So if I encounter an element that's not marked as root one way or another, and there's already been an element that's either marked with root="1" or isn't...
Brian L. Matthews
blm@...
Send Email
Jun 11, 2001
4:45 pm

Hi, Brian! I would say it's close to what I do, but in my search for method element, I'm just ignoring elements that are marked as root="0" but not considering...
Paul Kulchenko
paulclinger@...
Send Email
Jun 12, 2001
2:06 am

Paul, ... I would agree. ... Actually root="1" labels roots that *aren't* true roots. True roots have an implied root="1". Presumably there's some magical way...
Brian L. Matthews
blm@...
Send Email
Jun 12, 2001
4:51 pm

Hi, All! What's the best way to insert one XML payload into another one? Both XML payloads may have XML declaration and different encodings. Options I'm...
Paul Kulchenko
paulclinger@...
Send Email
Jun 12, 2001
6:55 pm

I think 3 or 4 (via SOAP attachments) are your best bet. A slight twist on 4 would be to use DIME instead of MIME. Cheers Simon ... From: Paul Kulchenko...
Simon Fell
sfell@...
Send Email
Jun 12, 2001
6:59 pm

Here's what I do; I think Bob C suggested it. Look through all the elements, collect them into yes = root=1 no = root=0 maybe = no root attribute if len(root)...
Rich Salz
rsalz@...
Send Email
Jun 11, 2001
4:55 pm

It would help if the spec for sect.5.6 more clearly defined some of the terms it is using. I'm using these: "serialization root": any element that maps to a...
Yann Christensen
yannc@...
Send Email
Jun 13, 2001
12:29 am

Adding to what Yann said below, the interpretation of an element without a SOAP-ENC:root attribute could to be a little different depending on whether the...
Andrew Layman
yahoo@...
Send Email
Jun 13, 2001
3:47 am

Hi, All! I'm sending SOAP request to UDDI server and if I have <SOAP-ENV:Header/> tag request is failing. It's still valid to have an empty Header tag as far...
Paul Kulchenko
paulclinger@...
Send Email
Jun 14, 2001
4:47 pm

This is an invitation to all soapbuilders to join the discussion of the SOAP-ENC:root attribute on the XMLP WG public mailing list (xml- dist-app@...). This...
frank_j_derose@...
Send Email
Jun 19, 2001
7:41 pm
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help