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

Re: Test p:import #006

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Mon, 23 Nov 2009 16:38:19 +0000
To: <Toman_Vojtech@emc.com>
Cc: <public-xml-processing-model-comments@w3.org>
Message-ID: <f5bfx85p56s.fsf@hildegard.inf.ed.ac.uk>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[anon] writes:

> Norm,
>
> Are you sure? If you use a Java library like Apache HttpClient, you can
> do something like this:
>
> HttpMethod method = ...;
> new HttpClient().executeMethod(method);
> URI resolvedURI = method.getURI();

In XSV, the Python equivalent is

 result=urlopen(Request("http:...",...))
 resolved=result.geturl()

ht
- -- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
                         Half-time member of W3C Team
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 651-1426, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFLCrp7kjnJixAXWBoRAvCMAJwOuK67K3PBS7ErWVrftrGYEUTujgCdFIH/
Tmo+A9AlznjXHqLzuyh70BQ=
=oigj
-----END PGP SIGNATURE-----
Received on Monday, 23 November 2009 16:38:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 November 2009 16:38:57 GMT