Q) What will a SOAP receiver do upon receiving SOAP message containing DTD
1)The SOAP receiver will process the DTD and will validate SOAP message against it.
2)The SOAP receiver will generate a fault with faultcode of "Client.DTD".
3)The SOAP receiver will ignore the DTD declaration and will process the SOAP message normally.
4)The SOAP receiver will do nothing.
I think answer is 2.What will be the answer if SOAP message contains PI instead of DTD.
while googing I can find only this text.But I am not able to find about this in specifications. http://www.w3.org/2000/xp/Group/1/10/03-minutes.html Proposal: (i) SOAP messages MUST NOT include DTDs, and SOAP receivers MUST fault if they encounter a DTD (ii) SOAP messages SHOULD NOT include PIs, and SOAP receivers MUST ignore any PIs they encounter WG agreed without dissent to this proposal and to close issue 4 using it Marc action to produce resolution text.
IBM 141- XML& related technologies<br />IBM 486-OOAD with UML<br />SCJP 1.4