- From: Norman Walsh <Norman.Walsh@Sun.COM>
- Date: Thu, 10 Jul 2003 09:12:51 -0400
- To: Martin Duerst <duerst@w3.org>
- Cc: Graham Klyne <GK@ninebynine.org>, Paul Grosso <pgrosso@arbortext.com>, uri@w3.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
/ Martin Duerst <duerst@w3.org> was heard to say:
| At 16:36 03/07/09 -0400, Norman Walsh wrote:
|
|>/ Martin Duerst <duerst@w3.org> was heard to say:
|
|>| 'varies with use' does not automatically imply we need more syntax.
|>| The two uses we know are HTML-like, where it clearly is a same-document
|>| reference, and RDF-like, where it is treated as being relative to the
|>| relevant base. These uses should be distinguishable by context.
|>
|>How do you mean?
|>
|> <blort href="#foo"/>
|>
|>Which context is that?
|
| The context given by the operation where this #foo is used.
| I.e. if somebody is clicking on it, or doing something similar,
| then there is no document reload, it's just a same-document
| reference.
Uhm, Ok. So suppose this element occurs in http://example.com/my/test.xml:
<blort xml:base="http://example.com/other/file.xml" href="#foo"/>
To what does #foo refer?
| If some system is using the #foo for doing deductions,...,
| (sorry that I don't have an easy word such as 'click' available
| here) then the deductions are done on the absolute URI that
| results from combining the base and the #foo.
If I understand you, you're suggesting that if http://example.com/my/test.xml
contains:
<rdf:li xml:base="http://example.com/other/file.xml" rdf:resource="#foo"/>
then I might make deductions about "http://example.com/other/file.xml#foo" but
if I clicked on it, I'd go to "http://example.com/my/test.xml#foo"
That strikes me as just totally wrong.
| This is actually not that far away from current ideal
| browser behavior. Some browsers have pop-up menus saying
| 'bookmark this link'. They of course bookmark the absolute
| location, not just #foo. When you click on the bookmark, you
| get to that absolute location. Later on, the bookmark cannot
| do a same-document reference, it then actually has to go and
| fetch the document.
Ah, yes, but continuing my example from above, per 2396 the absolute
URI bookmarked for #foo has to be http://example.com/my/test.xml#foo
irrespective of the base URI at the point where href="#foo" occurs.
Be seeing you,
norm
- --
Norman.Walsh@Sun.COM | It is good to have an end to journey toward;
XML Standards Architect | but it is the journey that matters, in the
Web Tech. and Standards | end.--Ursula K. Le Guin
Sun Microsystems, Inc. |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>
iD8DBQE/DWZTOyltUcwYWjsRAmncAJ98YE8YAUnuINEo9AEo8YBy5uXuxACfbzlm
Wpj5c1vMEWTgH25bnKxbKNQ=
=QqR6
-----END PGP SIGNATURE-----
Received on Thursday, 10 July 2003 09:13:15 UTC