Mind telling us where you 'actually' got that source code, because taking
a look at that page and the facts your point seams to have as much
substance as css in lynx.
Looking at that Oaxtepc page I see:
<p><span style="font-size: small;"><span id="coordinates"><a
href="/wiki/Geographic_coordinate_system" title="Geographic coordinate
system">Coordinates</a>: <span class="plainlinks nourlexpansion"><a
rel="nofollow" class="external text"
href="http://toolserver.org/~geohack/geohack.php?pagename=Oaxtepec&params=18_54_N_98_58_W_region:MX_type:city_source:GNS-enwiki"><span
class="geo-default"><span class="geo-dms" title="Maps, aerial photos, and
other data for this location"><span class="latitude">18°54′N</span> <span
class="longitude">98°58′W</span></span></span><span
class="geo-multi-punct"> / </span><span class="geo-nondefault"><span
class="geo-dec" title="Maps, aerial photos, and other data for this
location">18.9°N 98.967°W</span><span style="display:none"> / <span
class="geo">18.9; -98.967</span></span></span></a></span></span></span></p>
There is no <a id="coordinates">, it's a span.
Taking a look at the history of that template:
https://en.wikipedia.org/w/index.php?title=Template:Coord/display/title&action=history
It's been a span since the template was created, not an <a>.
And to top it off your argument seams to completely forget one really,
really, really, important fact...
We don't permit WikiText to output <a> tags without a href, or with any
custom attributes!
And since we don't allow raw text on Wikipedia, there's no way that
WikiText on Wikipedia can output a <a id="coordinates">.
;) Oh, and w3m gives me the same source code.
;) w3m-emacs gives me the same result.
--
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name]
On Sat, 19 Nov 2011 02:18:42 -0800, <jidanni@jidanni.org> wrote:
> Why the two layers of <a> even if it passes
> $ validate http://en.wikipedia.org/wiki/Oaxtepec
> *** Errors validating Oaxtepec: ***
> Error at line 2, character 33: there is no attribute "class"
> Error at line 152, character 10: end tag for "ul" which is not finished
> Error at line 177, character 10: end tag for "ul" which is not finished
>
> Why the </a> halfway through the first pair of
> Coordinates: 18°54′N 98°58′W / 18.9°N 98.967°W / 18.9; -98.967
>
> Why does it look fine in some browsers but ah-ha caught you in emacs-w3m?
>
> Could it be that Firefox and Chromium are fooled into thinking that the
> outer <a id...> which lasts through the whole six coordinates should
> render as a clickable link... which it apparently does even with
> stylesheets off. Only emacs-w3m renders it right, revealing the badly
> written HTML!
>
> Here's the code,
> <p><span style="font-size: small;"><a id="coordinates"><a
> href="/wiki/Geographic_coordinate_system" title="Geographic coordinate
> system">Coordinates</a>: <span class="plainlinks nourlexpansion"><a
> rel="nofollow" class="external text"
> href="http://toolserver.org/~geohack/geohack.php?pagename=Oaxtepec&params=18_54_N_98_58_W_region:MX_type:city_source:GNS-enwiki"><span
> class="geo-default"><span class="geo-dms" title="Maps, aerial photos,
> and other data for this location"><span class="latitude">18°54′N</a>
> <span class="longitude">98°58′W</span></span></span><span
> class="geo-multi-punct"> / </span><span class="geo-nondefault"><span
> class="geo-dec" title="Maps, aerial photos, and other data for this
> location">18.9°N 98.967°W</span><span style="display:none"> / <span
> class="geo">18.9;
> -98.967</span></span></span></a></span></span></span></p>