* Masayasu Ishikawa wrote: >"Hoyt, Phil" <Phil.Hoyt@globeinteractive.com> wrote: > >> I think it's common practice to link using href="#name" to an anchor within >> the same document. I've been unable, though, to find a way either in the >> real world or in the html spec to use a similar syntax to link to an anchor >> within the same document as the link when <base href="http://www.url.com"> >> is being used. Instead, such a link refers to an anchor on the base >> document. > >Actually such a behavoir is wrong [...] >So a fragment identifier should be interpreted as a reference within >the current document, regardless of the base URI. Unfortunately, >as you noticed, many user agents do it wrong. > >[RFC 2396] http://www.rfc-editor.org/rfc/rfc2396.txt HTML 4.01 doesn't reference this RFC, it references RC 1808 which mandates the described behaivour. User Agents don't do it "wrong", they do it backwards compatible. -- Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de 25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/Received on Saturday, 8 December 2001 12:06:04 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 April 2009 12:59:15 GMT