W3C home > Mailing lists > Public > xml-dist-app@w3.org > September 2007

XML declaration in SOAP?

From: Vinogradov, Roman <rvinogr@mera.ru>
Date: Mon, 03 Sep 2007 15:16:43 +0000
Message-ID: <A38501726936C540B67609D8D0C9A03B01331784@texmail.te.mera.ru>
To: <xml-dist-app@w3.org>
Hello,

 

I have a question regarding xml declaration in soap message:

- is xml declaration mandatory for soap message?

 

The SOAP 1.1 spec states that SOAP message is encoded using XML. 

The XML 1.0 spec defines that XML document SHOULD begin with an XML
declaration.

This is also approved in EBNF grammatics:

document    ::=         prolog  element  Misc*

prolog      ::=         XMLDecl? Misc* (doctypedecl  Misc*)?

 

On the other hand, the xml declaration line is absent in all examples of
soap message in the specification.

 

In our case it can be a compatibility issue. Can you please help me to
interpret the specification right way?

 

Thank you in advance.

 

Best regards

Roman Vinogradov

MERA, Russia

 

 
Received on Monday, 3 September 2007 15:18:31 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 10 December 2014 20:02:47 UTC