OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Article: "The horror of XML"

[ Lists Home | Date Index | Thread Index ]

Elliotte Rusty Harold wrote:
> You never know at compile time what documents you or may not
> encounter. Just because the spec says a SOAP request can't contain a
> processing instruction or a document type declaration doesn't mean
> one won't.

But if one does, then it's not a legal SOAP request, and
a SOAP processor should feel free to treat it the same as
any other illegal input.  It can bail out as soon as it
sees '<' followed by anything other than a name start character.

Now a conformant XML processor can't do that, of course,
but a SOAP processor doesn't need to include a conformant
XML parser.  A parser for the SOAP subset will do just fine.

--Joe English



News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS