lynx-dev
[Top][All Lists]
Advanced

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

RE: [Lynx-dev] HTML 5


From: Thomas Dickey
Subject: RE: [Lynx-dev] HTML 5
Date: Mon, 13 Aug 2007 15:37:42 -0400 (EDT)

On Mon, 13 Aug 2007, Larson, Timothy E. wrote:

Philip Webb wrote:
The following mb of interest to Lynx programmers & users :


http://www.ibm.com/developerworks/library/x-html5/?ca=dgr-lnxw97NewHTML

I remember reading about the HTML5 effort a year or two ago.  I think
taking the best of both WhatWG's efforts and the XHTML2 proposals makes
sense.

What kind of work will be necessary to incorporate the new elements into
Lynx?

Lynx's DTD is built-in (and, conveniently, the people who did the building have moved on). There's several places to change in the code for each element type, but it's reasonably systematic. The only really (imho) ugly part is the large table in WWW/Library/Implementation/HTMLDTD.c after the comment "Extra element info" (it abuses enumerations to pack bits).

I've had in mind that if I ever have to do real changes there, I'll make a tool to dump the tables in that file into a readable schema, and generate the file from that. So far, the only changes I recall are simple ones - adding entries to existing tables, and not trying to define new bits for that one.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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