[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [wss] Missing /wsse:Security/@S11:MustUnderstand
Yes, SOAP 1.2 allows all 4 lexical values ( but NOTE they are all lower case, whereas your original mail had uppercase 'T' and 'F' ) SOAP 1.1 only allows 2 lexical values ( '1' and '0') Gudge > -----Original Message----- > From: Hal Lockhart [mailto:hlockhar@bea.com] > Sent: 02 June 2005 20:10 > To: Martin Gudgin; wss@lists.oasis-open.org > Cc: Anthony Nadalin > Subject: RE: [wss] Missing /wsse:Security/@S11:MustUnderstand > > > > Actually, "True" and "False" are not legal lexical values of > > xs:boolean. > > The legal values are "1", "true", "0", "false". > > > Section 5.2.3 of the SOAP 1.2 spec seems to say "true" and > "false" are legal. > > ---------- > 5.2.3 SOAP mustUnderstand Attribute > > The SOAP mustUnderstand attribute information item is used to > indicate whether the processing of a SOAP header block is > mandatory or optional (see 2.4 Understanding SOAP Header Blocks) > > The mustUnderstand attribute information item has the > following XML infoset properties: > > * > > A [local name] of mustUnderstand . > * > > A [namespace name] of "http://www.w3.org/2003/05/soap-envelope". > * > > A [specified] property with a value of "true". > > The type of the mustUnderstand attribute information item is > xs:boolean. > > Omitting this attribute information item is defined as being > semantically equivalent to including it with a value of "false". > > SOAP senders SHOULD NOT generate, but SOAP receivers MUST > accept the SOAP mustUnderstand attribute information item > with a value of "false" or "0". > > If generating a SOAP mustUnderstand attribute information > item, a SOAP sender SHOULD use the canonical representation > "true" of the attribute value (see XML Schema [XML Schema > Part 2]). A SOAP receiver MUST accept any valid lexical > representation of the attribute value. > > If relaying the message, a SOAP intermediary MAY substitute > "true" for the value "1", or "false" for "0". In addition, a > SOAP intermediary MAY omit a SOAP mustUnderstand attribute > information item if its value is "false" (see 2.7 Relaying > SOAP Messages). > > A SOAP sender generating a SOAP message SHOULD use the > mustUnderstand attribute information item only on SOAP header > blocks. A SOAP receiver MUST ignore this attribute > information item if it appears on descendants of a SOAP > header block or on a SOAP body child element information item > (or its descendents). > ------- > > Hal >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]