Skip Menu |
 

This queue is for tickets about the libwww-perl CPAN distribution.

Report information
The Basics
Id: 12072
Status: resolved
Priority: 0/
Queue: libwww-perl

People
Owner: Nobody in particular
Requestors: juanmarcosmoren [...] terra.es
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)

Attachments
HTML_Form_notwarningonnoform.diff



Subject: HTML::Form unuseful warnings
Download (untitled) / with headers
text/plain 211b
Many HTML pages on the Internet have input widgets outside of a form. This may not be standard but all the browsers work OK with that without giving any warning. Why should HTML::Form give this unuseful warning?
--- HTML/Form.pm +++ HTML/Form.pm @@ -9,8 +9,6 @@ use vars qw($VERSION); $VERSION = sprintf("%d.%03d", q$Revision: 1.49 $ =~ /(\d+)\.(\d+)/); -my %form_tags = map {$_ => 1} qw(input textarea button select option); - my %type2class = ( text => "TextInput", password => "TextInput", @@ -213,9 +211,6 @@ } } } - elsif ($form_tags{$tag}) { - Carp::carp("<$tag> outside <form>") if $^W; - } } for (@forms) { $_->fixup;
Download (untitled) / with headers
text/plain 383b
[guest - Wed Mar 30 13:00:23 2005]: Show quoted text
> Many HTML pages on the Internet have input widgets outside of a form. > This may not be standard but all the browsers work OK with that > without giving any warning. Why should HTML::Form give this > unuseful warning?
I applied this patch to my installation and removes that warnings. Any comment why this isn't applied to the package?


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.