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

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

From: Charles McCathieNevile <charles@w3.org>
Date: Mon, 20 Dec 1999 08:27:35 -0500 (EST)
To: bglbv@my-deja.com
cc: www-amaya@w3.org
Message-ID: <Pine.LNX.4.20.9912200826540.18002-100000@tux.w3.org>
Oh. I would remove it from the HEAD an start it in the first valid place.

Charles McCN

On Mon, 20 Dec 1999, Charles McCathieNevile wrote:

  I got the same behaviour in the binary linux release of Amaya 2.4 (the .tgz
  version).I guess the solution is when cleaning up <A NAME... to only close it
  off, since as far as I know there is no big use of the content of a named
  anchor, especially when it is not well-formed in the first place.
  
  Charles McCN
  
  On Sat, 18 Dec 1999 bglbv@my-deja.com wrote:
  
    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?
    
    
  
  --
  Charles McCathieNevile    mailto:charles@w3.org    phone: +61 409 134 136
  W3C Web Accessibility Initiative                    http://www.w3.org/WAI
  21 Mitchell Street, Footscray, VIC 3011,  Australia (I've moved!)
  

--
Charles McCathieNevile    mailto:charles@w3.org    phone: +61 409 134 136
W3C Web Accessibility Initiative                    http://www.w3.org/WAI
21 Mitchell Street, Footscray, VIC 3011,  Australia (I've moved!)
Received on Monday, 20 December 1999 08:27:37 UTC

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