RE: D-link and LONGDESC (GL type stuff)

Thanks!  I spent quite a bit of time in the HTML 4.0 spec looking for the
max value and at the WAI meetings I was told that SGML didn't define one.
I'm am not going to verify whether or not IE allows 65k ALT attributes
though. :)

-----Original Message-----
From: Chris Maden [mailto:crism@ora.com]
Sent: Wednesday, April 22, 1998 2:34 PM
To: w3c-wai-ig@w3.org
Subject: Re: D-link and LONGDESC (GL type stuff)


[Chuck Opperman]
> Not true.  I've had ALT text in Internet Explorer longer than 3K
> characters.  SGML/HTML do not define a maximum length.

Not true.  Although not usually enforced, HTML's SGML declaration
*does* define a maximum length (see
<URL:http://www.w3.org/TR/REC-html40/sgml/sgmldecl.html>):

                  ATTSPLEN 65536

This limits the total length of attribute names and values, as
contained in the start-tag, to 2^16 characters.

                  LITLEN   65536

This limits the length of any one attribute literal to 2^16
characters.

-Chris
-- 
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>

Received on Wednesday, 22 April 1998 17:45:26 UTC