W3C home > Mailing lists > Public > xml-dist-app@w3.org > May 2003

Handling the XML Prolog inside SOAP

From: Burdett, David <david.burdett@commerceone.com>
Date: Tue, 13 May 2003 09:49:59 -0700
Message-ID: <C1E0143CD365A445A4417083BF6F42CC053D1ABD@C1plenaexm07.commerceone.com>
To: "XML Dist-App (E-mail)" <xml-dist-app@w3.org>
I'm reposting this question as I did not get any response earlier.
The SOAP PR spec [1] states a SOAP message must not contain information that
often goes in the XML Prolog such as: document type declarations, processing
instructions or comments before the main document element.
A question. What should you do if the XML that you want to transport was
originally a complete XML document (perhaps digitally signed) that contains
this type of information and you want this information to be preserved when
the document reaces the ultimate destination so that it can be used?
My reading of the current SOAP spec suggests that this is not possible
unless you Base64 encode it ... or am I missing something.
PS I realise this may have been already discussed but I missed it.
[1] http://www.w3.org/TR/soap12-part1/#soapenv
Received on Tuesday, 13 May 2003 12:49:27 UTC

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