W3C home > Mailing lists > Public > www-svg@w3.org > May 2008

Re: Resolving IRIs for resource documents in SVG Tiny 1.2

From: Cameron McCormack <cam@mcc.id.au>
Date: Fri, 16 May 2008 17:11:17 +1000
To: www-svg <www-svg@w3.org>
Message-ID: <20080516071117.GA1192@arc.mcc.id.au>

Robert O'Callahan:
> http://www.w3.org/TR/SVGMobile12/linking.html#externalReferences says:
> 
> > The rule for SVG is that documents are considered to be unique based
> > on string comparisons of the full IRI after resolving relative IRIs
> > into absolute IRIs and after taking into account HTTP redirects
> > (i.e., use the post-redirect IRI instead of the original source
> > IRI).
> >
> 
> This seems to imply that if I have a document that contains many resource
> references with the same relative URI, I have to perform an HTTP transaction
> for each one to see if any of them result in a redirect. Wouldn't it make a
> lot more sense to use the pre-redirect URI as the dictionary key, so I can
> avoid a lot of network transactions?

That does make sense, IMO.  I don’t know that there’s any real use case
for using the post-redirect URI as the thing to check against.

-- 
Cameron McCormack ≝ http://mcc.id.au/
Received on Friday, 16 May 2008 07:12:16 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:39 GMT