W3C home > Mailing lists > Public > www-ws-desc@w3.org > July 2006

Re: URI comparison

From: Amelia A Lewis <alewis@tibco.com>
Date: Mon, 24 Jul 2006 11:41:30 -0400
To: "Rogers, Tony" <Tony.Rogers@ca.com>
Cc: youenn.fablet@crf.canon.fr, www-ws-desc@w3.org, ryman@ca.ibm.com
Message-Id: <20060724114130.c58cac7b.alewis@tibco.com>

On Mon, 24 Jul 2006 18:45:31 +1000
"Rogers, Tony" <Tony.Rogers@ca.com> wrote:
>Without referring to any authoritative source, I would have thought
>that the terminal slash was an error. (I fully expect to be beaten to
>death with a 600 page standard for saying that, of course)


>Given that we now have examples in our test suite showing both
>versions (even if one is officially incorrect), I wonder if we should
>mandate a bit of canonicalisation of URIs (perhaps guaranteeing the
>presence or absence of a trailing slash, lowercase for the prefix,
>simple stuff like that). I can see this coming up over and over again.

You mean, in the test suite?  Fine.

You mean, parsers should do so?  No, way out of scope.

Namespaces in XML such that a URI is not a URI for purposes of comparison (it's just a string) (all right, so a namespace URI is better described as a namespace non-URI, for all practical purposes).  We do not, not, NOT want to get involved in fixing that particular snafu.

>Tony Rogers
>CA, Inc
>Senior Architect, Development
>co-chair UDDI TC at OASIS
>co-chair WS-Desc WG at W3C
>From: www-ws-desc-request@w3.org on behalf of Youenn Fablet
>Sent: Mon 24-Jul-06 18:24
>To: www-ws-desc@w3.org
>Cc: Arthur Ryman
>Subject: URI comparison
>Hi all,
>I dug into some of the WSDL documents for which our wsdl parser does
>not match with the baseline.
>Some differences are due to the use in some documents (Echo-1G for
>instance) of the following binding URI:
>       wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP"
>Our parser recognizes the use of the SOAP1.2 HTTP binding with the
>following URI:
>       wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP/"
>The sole difference is the last character '/'.
>We currently use a simple character-by-character comparison to match
>the URI against the SOAP1.2 binding URI, as defined IIRC somewhere in
>part 1. Arthur, do you know how Woden is handling URI processing and
>comparison ? Regards,
>    Youenn

Amelia A. Lewis
Senior Architect
TIBCO/Extensibility, Inc.
Received on Monday, 24 July 2006 15:41:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:55:00 UTC