RE: log-LocationTemplate2G-wso2-wso2.wsimsg

Huh?  xs:anyURI includes relative URIs.  Relative URIs by definition don't
include a scheme.

Jonathan Marsh - http://www.wso2.com - http://auburnmarshes.spaces.live.com
 

> -----Original Message-----
> From: Sanjiva Weerawarana [mailto:sanjiva@wso2.com]
> Sent: Wednesday, March 14, 2007 9:22 AM
> To: keith chapman
> Cc: Jonathan Marsh; www-ws-desc
> Subject: Re: log-LocationTemplate2G-wso2-wso2.wsimsg
> 
> keith chapman wrote:
> >
> >     2)    path=2007/02 vs. path=http:2007/02.  Looks like you just have
> >     a typo in your source data.
> >
> >
> >
> > Actually its not a typo, sorry I forgot to mention thin in the previous
> > mail. http://www.w3.org/TR/xmlschema-2/
> > <http://www.w3.org/TR/xmlschema-2/> defines anyURI as follows and the
> > path element is of type anyURI.
> >
> > "*anyURI* represents a Uniform Resource Identifier Reference (URI). An
> > *anyURI* value can be absolute or relative, and may have an optional
> > fragment identifier (i.e., it may be a URI Reference). This type should
> > be used to specify the intention that the value fulfills the role of a
> > URI as defined by [RFC 2396]
> > <http://www.w3.org/TR/xmlschema-2/#RFC2396>, as amended by [RFC 2732]
> > <http://www.w3.org/TR/xmlschema-2/#RFC2732>."
> >
> > section 3 of RFC2396 states that
> >
> > " This "generic URI" syntax consists of a sequence of four main
> components:
> >
> >  <scheme>://<authority><path>?<query>
> >
> >  each of which, except <scheme>, may be absent from a particular URI."
> >
> >
> > Which means that the scheme is needed. I just added "http:" to the data.
> > May be the test suite should be fixed.
> 
> No .. the http schema for URIs (there's another IETF doc somewhere) says
> that http must be followed by ://.
> 
> Sanjiva.
> --
> Sanjiva Weerawarana, Ph.D.
> Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
> email: sanjiva@wso2.com; cell: +94 77 787 6880; fax: +1 509 691 2000
> 
> "Oxygenating the Web Service Platform."

Received on Wednesday, 14 March 2007 17:00:03 UTC