W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 1999

Out-of-order <A NAME="Top"> confuses Amaya

From: <bglbv@my-deja.com>
Date: Sat, 18 Dec 1999 23:07:17 -0500 (EST)
Message-ID: <19991219040608.1527.qmail@my-deja.com>
To: www-amaya@w3.org
I saw the following structure in http://www.indigo.ie/egt/ :

<HTML>
<A NAME="Top">
<HEAD><!-- usual TITLE and HTTP-EQUIV=Content-Type --></HEAD>
<BODY>
<IMG SRC="header.gif"><BR>
<H1>Index</H1>
<IMG SRC="somebullet.gif"><A HREF="some.url">Label</A>
<!-- More stuff -->
</BODY>
</HTML>

(unless this was the result of some garbling by proxies along the way).
It's godawful HTML, but still it would be nice it Amaya could handle
this sort of thing as gracefully as possible.

What Amaya currently parses this into is somewhat surprising.
As far as I can make it from the structure view (which is garbled:
a bug), it's something like:

<BODY>
  <A NAME="Top">
    <IMG SRC="header.gif"><BR>
  </A>
  <H1><A NAME="Top">Index</A></H1>
  <A NAME="Top">
    <IMG SRC="somebullet.gif">
    <A NAME="Top" HREF="some.url">Label</A>
    <!-- More stuff until the next HR element -->
  </A>
  <!-- More stuff with plenty of A NAME="Top" -->
</BODY>

And in the formatted view there is a line break just after the "L" in "Label".
Yes, in the middle of a word: that's what alerted me to it all.

Can anyone reproduce this? (I haven't tried with a binary Amaya distribution.)
Fix the various bugs involved?
Received on Monday, 20 December 1999 05:21:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:21 UTC