[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Article: "The horror of XML"

soapmessage to dom
> In other words, XML processors used for SOAP need to report at least the 
> presence of a document type declaration precisely because SOAP forbids 
> these. A processor which does not handle the document type declaration 
> is inadequate for SOAP.

And "and PI" to the above.  SOAP doesn't allow DTDs or PI's.

>> Since SOAP 1.2 is defined on the infoset, it presupposes that a parser
>> has done its work ... AFAIK, that doesn't imply an XML syntax
>> parser, just one that produces XML Infosets.
> On no. Not another one. You mean you can send something to a SOAP 
> service that is not an XML document, provided the service knows how to 
> turn it into an infoset?  Yuck. I'm sure that loophole will do wonders 
> for interoperability. Every day in every way I'm learning to despise the 
> Infoset just a little bit more.

It's not quite that bad.  SOAP 1.2 is defined in terms of the infoset. 
(At the time, I argued against this and lost.)  While this mainly makes 
the spec more verbose and harder to read, it does allow one to create a 
SOAP message with DOM, and send it to someone else via SAX or suchlike. 
That might be a good thing.  However, the only defined mappings all say 
"serialize according to XML 1.0".

I think we're getting an interesting split in W3C specs: those that are 
defined in terms of the serialization, and those that are defined in 
terms of infoset.  The problem comes when the mix, such as when you want 
to sign or encrypt a SOAP message.  Seems like TAG fodder...


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.