W3C home > Mailing lists > Public > xml-dist-app@w3.org > October 2001

Re: FW: Proposed positive text for XML Base

From: Hugo Haas <hugo@w3.org>
Date: Wed, 17 Oct 2001 21:33:32 -0400
To: Jonathan Marsh <jmarsh@microsoft.com>
Cc: xml-dist-app@w3.org, Henrik Frystyk Nielsen <henrikn@microsoft.com>, Paul Cotton <pcotton@microsoft.com>
Message-ID: <20011017213332.F24409@jibboom.w3.org>
* Jonathan Marsh <jmarsh@microsoft.com> [2001-10-17 16:22-0700]
> Henrik and Paul consulted with me on this issue, in my role as
> editor of the XML Base Recommendation, resulting in an updated
> proposal based on David Orchard's text.  Although I am a member of
> the XML Core WG, and believe the text below is consistent with the
> feedback the Core WG provided on this issue, I do not supply this
> text under the aegis of the Core WG.  I hope that this proposal is
> helpful to the XP WG in considering this issue.
> 
> 
> BASE URI's and Relative URI Resolution
> --------------------------------------
> This version of the SOAP specification supports the W3C XML Base
> Recommendation. An xml:base attribute information item MAY appear on
> any of the element information items defined in this specification.
> This specification does not make use of URI References, only
> absolute URIs, so xml:base attributes will not affect the behavior
> of the SOAP envelope itself.  Relative URI values (such as for the
> SOAP-ENV:EncodingStyle attribute) are not recognized as matching the
> absolute URI values mandated by this specification.
[..]
> Rationale:
> ----------
> The simplest reading of SOAP 1.2 does not allow relative URIs
> (specifically URI References) in any of its attributes.  Making such
> a change requires positive motivation.

"Absolute" and "relative" are two words that do not appear in the SOAP
Version 1.2 Part 1: Messaging Framework Working Draft[1].

The encodingStyle attribute[4] is of type anyURI[3] as defined by XML
Schema Part 2: Datatypes[2], i.e. a URI as defined by RFC2396 as
amended by RFC2732.

The simplest reading tells me that it can by any URI, absolute or
relative. I understand that, in SOAP Version 1.2's current form, use
of relative URIs leads to undefined results since there is no clear
base URI, but it does _not_ disallow them.

Therefore, the change here is to explicitely disallow relative URIs.

Regards,

Hugo

  1. http://www.w3.org/TR/2001/WD-soap12-part1-20011002/
  2. http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/
  3. http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#anyURI
  4. http://www.w3.org/TR/2001/WD-soap12-part1-20011002/#soapencattr
-- 
Hugo Haas - W3C
mailto:hugo@w3.org - http://www.w3.org/People/Hugo/ - tel:+1-617-452-2092
Received on Wednesday, 17 October 2001 21:34:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:04 GMT