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)

*THWACK!*

>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.

Amy!
> 
>Tony Rogers
>CA, Inc
>Senior Architect, Development
>tony.rogers@ca.com
>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.
alewis@tibco.com
Received on Monday, 24 July 2006 15:41:53 GMT

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