W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > November 2009

Re: Test p:import #006

From: Norman Walsh <ndw@nwalsh.com>
Date: Mon, 23 Nov 2009 15:39:21 +0000
To: public-xml-processing-model-comments@w3.org
Message-ID: <m24ool5jyu.fsf@nwalsh.com>
Hello world,

I've done a little more investigation and I think import-006 places an
unreasonable burden on implementors. AFAICT, the only way to get this
right is to manage all of the HTTP redirections "by hand". In the Java
case, that means building an explicit HttpURLConnection, disabling
"follow redirects", and then rebuilding the follow redirects logic
locally, keeping track of where the redirection occurs.

Unless I'm mistaken (and I'm happy to be told that I am), you can't
tell from a URLConnection, or even from an HttpURLConnection if follow
redirects is enabled, where the final connection was resolved.

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com> | It is important to realize that any
http://nwalsh.com/            | lock can be picked with a big enough
                              | hammer.

Received on Monday, 23 November 2009 15:40:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:28:27 UTC