[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev lynx bug?

From: Nelson H. F. Beebe
Subject: Re: lynx-dev lynx bug?
Date: Sat, 29 Apr 2000 15:10:35 -0600 (MDT)

Mark Papsun <address@hidden> writes on Sat,  29 Apr 1972 15:22:12 -0500 (EST):

>> When I go to, I get the
>> same page as when I go to 
>> Why does this happen?

It happens because lynx is does not ignore lettercase in NAME tags:
the file p2s1c1a1.htm contains at line 130 the HTML fragment


netscape goes to that location without problems.  lynx will too, once
your URL is changed to

The standard 

  author =       "R. Fielding",
  title =        "{RFC 1808}: Relative Uniform Resource Locators",
  month =        jun,
  year =         "1995",
  bibdate =      "Thu Oct 16 09:34:09 MDT 1997",
  note =         "Updates RFC1738 \cite{RFC1738}. Updated by RFC2368
                 \cite{RFC2368}. Status: PROPOSED STANDARD.",
  URL =          ",
  acknowledgement = ack-nhfb,
  format =       "TXT=34950 bytes",
  online =       "yes",
  status =       "PROPOSED STANDARD",
  updatedby =    "Updated by RFC2368 \cite{RFC2368}.",
  updates =      "Updates RFC1738 \cite{RFC1738}.",


   HTML defines a special element "BASE" which, when present in the
   "HEAD" portion of a document, signals that the parser should use the
   BASE element's "HREF" attribute as the base URL for resolving any
   relative URLs.  The "HREF" attribute must be an absolute URL.  Note
   that, in HTML, element and attribute names are case-insensitive.

This seems to me ambiguous: does it mean the `name' of the attribute,
or its `value', or both?  Five HTML, SGML, and XML books that I
consulted failed to resolve this point, nor did three other RFCs
(1630, 1736, and 1738) that I consulted.  

The pathname part of URLs is definitely case-sensitive, since some
file systems are defined that way, UNIX and Plan9 among them.

The HTML *.dtd files in my archives do not clarify this point
either. They simply define the anchor element like this:

<!ELEMENT A - - (%text)* -(A)>
        name      CDATA   #IMPLIED    -- named link end --
        href      %URL    #IMPLIED    -- URL for linked resource --

CDATA is an SGML datatype standing for character data.  

The html.decl file that declares HTML objects to the SGML parser says:

         NAMING   LCNMSTRT ""
                  UCNMSTRT ""
                  LCNMCHAR ".-"
                  UCNMCHAR ".-"
                  NAMECASE GENERAL YES
                           ENTITY  NO

so that &Gamma; and &gamma; are distinct entities, but other names are
not: <TITLE> and <TiTle> and <title> are equivalent.

I therefore do not find a clear specification of whether
<A NAME="value"> has a case-sensitive value or not.

Can anyone else find a binding statement of this point?

In the absence of an official specification, it might make sense for
lynx to try to find the NAME reference first obeying lettercase, and
then, if that fails, try again ignoring lettercase.

- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- Center for Scientific Computing       FAX: +1 801 585 1640, +1 801 581 4148 -
- University of Utah                    Internet e-mail: address@hidden  -
- Department of Mathematics, 322 INSCC      address@hidden  address@hidden -
- 155 S 1400 E RM 233                       address@hidden                    -
- Salt Lake City, UT 84112-0090, USA    URL:  -

reply via email to

[Prev in Thread] Current Thread [Next in Thread]