W3C home > Mailing lists > Public > xml-dist-app@w3.org > December 2000

RE: [DR008] - passing arbitrary content

From: David E. Cleary <davec@progress.com>
Date: Thu, 7 Dec 2000 11:12:01 -0500
To: <dick@8760.com>, <xml-dist-app@w3.org>
> > XML Schemas does not suffer from this limitation, so encoding an XML
> > document for use within an XP PDU is not required.
> I agree, however SOAP has restrictions against certain "legal" XML
> content from appearing in a SOAP message, ref: section 3 of SOAP
> spec states:
> "A SOAP message MUST NOT contain a Document Type Declaration.
>  A SOAP message MUST NOT contain Processing Instructions. [7]"
> This means any XML document containing PI's or DOCTYPE's must be
> "scrubbed" (or base64 encoded) before being placed in a
> SOAP:Body. Scrubbing
> could
> cause a problem for "signed data".

If Processing Instructions can appear anywhere withing an XML document, then
there is no reason why XP needs to keep that restriction. As far as DTDs go,
I personally feel their use should be deprecated in favor of schemas. While
I understand this may not be possible at this time, I do not feel we need to
neuter the spec in order to support DTDs. If you need to send an XML message
that has a DTD, then either encode it or refer to it by reference.

David Cleary
Progress Software
Received on Thursday, 7 December 2000 11:12:04 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 22:01:11 UTC