W3C home > Mailing lists > Public > www-lib@w3.org > January to March 1999

Re: Missing tags

From: Raffaele Sena <raff@nuvomedia.com>
Date: Mon, 25 Jan 1999 11:26:08 -0800 (PST)
Message-Id: <199901251926.LAA09792@womack.nuvomedia.com>
To: frystyk@w3.org
Cc: www-lib@w3.org
---Reply to mail from Henrik Frystyk Nielsen about Missing tags

> At 11:53 1/21/99 -0800, Raffaele Sena wrote:
>>Here are a few changes (added BIG,DIV,MAP,SMALL,SPAN).
> Great - I have committed your patches - see
>     http://db.w3.org/Library/latest.sql

>>Also, I'm playing with the HTML parser. I like a lot the new modular
>>interface, but I find there are a few things missing in order to make
>>it really usable (for example, if I don't update the HTMLPDTD object,
>>the only thing I get for unhandled tag is the tag name, with no
> Yes, I think that would be a great addition.
    I'll try to do it when I have time. I was thinking on something
    like normalizing attribute names and values and put them, maybe
    sorted alphabetically in the value[] array as ATTRIBUTE=attrbute-value.
>>Also, it would be nice to have some callbacks on the
>>entities, or the possibility to install my own entities). Is there
>>anybody working on this kind of stuff ?
> You mean callbacks on known entities as well as unknown entities?
    Yeah. I needed to do something with known entities, and what I did
    now was to "manually" zero the 'number_of_entities' field, and then
    get all of them as "unknown" entities.

     /* Very dirty trick to catch the entities, since there are no callbacks */
        SGML_dtd * dtd = HTML_dtd();
        dtd->number_of_entities = 0;

    I don't know how many others would be interested in this kind of things.
    But maybe an interface that would allow to easily attach new entities
    and new tags to the current parser would help.


Raffaele Sena
Senior Software Engineer ( "THE" Linux Guy :)
NuvoMedia, Inc.
310 Villa Street
Mt. View, CA 94041
Main:   +1.650.314.1200
Direct: +1.650.314.1255
Fax:    +1.650.314.1201

Received on Monday, 25 January 1999 14:29:24 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:49 UTC