Robert Sayre wrote:
On 8/15/05, A. Pagaltzis <[EMAIL PROTECTED]> wrote:

* Robert Sayre <[EMAIL PROTECTED]> [2005-08-15 19:05]:

The implementors of Internet Explorer and Mozilla agree with
Sam.

http://www.franklinmint.fm/2005/08/15/base.html

That uses html:base, which sets the base URI for the entire
document, not @xml:base, which sets the base URI for the element
and its children. Your example is irrelevant.


Oh no, not irrelevance! :)

Both seem to do the job described in section 5.1.1 of RFC 3986,  "Base
URI embedded in content". <http://rfc.net/rfc3986.html#s5.1.>

Just for fun, I made a version that uses xml:base instead. You can try
it with Firefox, which happens to support xml:base:
<http://www.franklinmint.fm/2005/08/15/base.xhtml>

Yes, it's a known bug.
https://bugzilla.mozilla.org/show_bug.cgi?id=275689

As a result of that bug, same-document references in documents with xml:base or html:base (like documents from the Google cache) don't work. Also content-location support is removed in Firefox because it broke same-document references (which hadn't be the case if same-document references would have been correctly implemented in the first place.)

--
Sjoerd Visscher
http://w3future.com/weblog/

Reply via email to