"Bjoern Hoehrmann" <[EMAIL PROTECTED]> writes:

> The %LINK_ELEMENT hash in HTML::LinkExtor 1.18 defined the key 'frame' twice
> and several element/attribute definitions were missing, these are added (i.e.
> everything marked as %URI; in the HTML 4.01 Transitional DTD). I've also added
> missing attributes for the proprietary element 'embed' and the 'layer' and
> 'ilayer' elements used within Navigator 4.x.

I think the latest version (found in the HTML-Parser-3.10 tarball)
already contains all these fixes.  This is what the current table look
like:

%LINK_ELEMENT =
(
 a       => 'href',
 applet  => [qw(archive codebase code)],
 area    => 'href',
 base    => 'href',
 bgsound => 'src',
 blockquote => 'cite',
 body    => 'background',
 del     => 'cite',
 embed   => [qw(pluginspage src)],
 form    => 'action',
 frame   => [qw(src longdesc)],
 iframe  => [qw(src longdesc)],
 ilayer  => 'background',
 img     => [qw(src lowsrc longdesc usemap)],
 input   => [qw(src usemap)],
 ins     => 'cite',
 isindex => 'action',
 head    => 'profile',
 layer   => [qw(background src)],
'link'   => 'href',
 object  => [qw(classid codebase data archive usemap)],
'q'      => 'cite',
 script  => [qw(src for)],
 table   => 'background',
 td      => 'background',
 th      => 'background',
 xmp     => 'href',
);

Regards,
Gisle


> 36,47c36,56
> <  body   => 'background',
> <  base   => 'href',
> <  a      => 'href',
> <  img    => [qw(src lowsrc usemap)],   # 'lowsrc' is a Netscape invention
> <  form   => 'action',
> <  input  => 'src',
> < 'link'  => 'href',          # need quoting since link is a perl builtin
> <  frame  => 'src',
> <  applet => [qw(codebase code)],
> <  area   => 'href',
> <  frame  => 'src',   # Netscape 2.0 extention
> <  embed  => 'src',   # used in Netscape 2.0 for Shockwave and things like that
> ---
> >  a           => 'href',
> >  area        => 'href',
> >  base        => 'href',
> >  blockquote  => 'cite',
> >  body        => 'background',
> >  del         => 'cite',
> >  form        => 'action',
> >  frame       => [qw(longdesc src)], # Netscape 2.0 extention
> >  head        => 'profile',
> >  iframe      => [qw(longdesc src)],
> >  img         => [qw(longdesc lowsrc src usemap)], # 'lowsrc' is a Netscape 
>invention
> >  input       => [qw(src usemap)],
> >  ins         => 'cite',
> > 'link'       => 'href',
> >  object      => [qw(classid codebase data usemap)],
> >  q           => 'cite',
> >  script      => 'src',
> >  applet      => [qw(code codebase)],
> >  embed       => [qw(code codebase pluginspace pluginurl src)],   # used in 
>Netscape 2.0 for Shockwave and things like that
> >  layer       => [qw(background src)],
> >  ilayer      => [qw(background src)],
> 

Reply via email to