W3C home > Mailing lists > Public > public-powderwg@w3.org > December 2007

Re: includePathStartsWith and initial /

From: Jeremy Carroll <jjc@hpl.hp.com>
Date: Fri, 21 Dec 2007 15:19:12 +0000
Message-ID: <476BD970.2000106@hpl.hp.com>
To: Andrea Perego <andrea.perego@uninsubria.it>
CC: public-powderwg@w3.org

Andrea Perego wrote:
>>> mailto:jeremy.carroll@hp.com


(([^:/?#]+):) matches mailto:
(//([^:/?#@]*)(:([0-9]+))?)? does not match any sequence stating j
(//([^:/?#@]*)(:([0-9]+))?)? matches the empty string
([^?#]*) then matches the remainder
(\?([^#]*))? matches the empty string.

ahh, you've left off the fragment in the regex.

Also see section 3 of RFC 3986, the example at the bottom of page 15 
shows a path  example:animal:ferret:nose in the URI 


You may choose to be totally clear whether resources identified by URIs 
with fragments (so-called secondary resources) are or are not potential 
members of the RS.

On my, admittedly rather hurried reading, I was assuming that a resource 
identified by


would be included in


but I can see that one might argue against (and I can believe I missed 
the part where it is clearly stated that it is not)

Received on Friday, 21 December 2007 15:20:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:06:03 UTC