[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: xml:base abuse
Robert Sayre wrote:
On 8/15/05, A. Pagaltzis <pagaltzis@xxxxxx> wrote:
* Robert Sayre <sayrer@xxxxxxxxx> [2005-08-15 19:05]:
The implementors of Internet Explorer and Mozilla agree with
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:
Yes, it's a known bug.
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.)