| 1 |
#!/usr/bin/perl |
#!/usr/bin/perl -d:DProf |
| 2 |
use strict; |
use strict; |
| 3 |
|
|
| 4 |
use lib qw[/home/httpd/html/www/markup/html/whatpm |
use lib qw[/home/httpd/html/www/markup/html/whatpm |
| 33 |
$out->html_header; |
$out->html_header; |
| 34 |
$out->unset_flush; |
$out->unset_flush; |
| 35 |
|
|
| 36 |
|
$out->generate_input_section ($http); |
| 37 |
|
|
| 38 |
|
my $u = $http->get_parameter ('uri'); |
| 39 |
|
my $s = $http->get_parameter ('s'); |
| 40 |
|
if ((not defined $u or not length $u) and |
| 41 |
|
(not defined $s or not length $s)) { |
| 42 |
|
exit; |
| 43 |
|
} |
| 44 |
|
|
| 45 |
require WebHACC::Result; |
require WebHACC::Result; |
| 46 |
my $result = WebHACC::Result->new; |
my $result = WebHACC::Result->new; |
|
$result->{conforming_min} = 1; |
|
|
$result->{conforming_max} = 1; |
|
| 47 |
$result->output ($out); |
$result->output ($out); |
| 48 |
|
|
| 49 |
require WebHACC::Input; |
require WebHACC::Input; |
| 51 |
|
|
| 52 |
check_and_print ($input => $result => $out); |
check_and_print ($input => $result => $out); |
| 53 |
|
|
|
$result->generate_result_section; |
|
|
|
|
| 54 |
$out->nav_list; |
$out->nav_list; |
| 55 |
|
|
| 56 |
exit; |
exit; |
| 66 |
$input->generate_transfer_sections ($result); |
$input->generate_transfer_sections ($result); |
| 67 |
|
|
| 68 |
unless (defined $input->{s}) { |
unless (defined $input->{s}) { |
| 69 |
$result->{conforming_min} = 0; |
## NOTE: This is an error of the implementation. |
| 70 |
|
$result->layer_uncertain ('transfer'); |
| 71 |
|
$result->generate_result_section; |
| 72 |
|
|
| 73 |
|
$out->input ($original_input); |
| 74 |
return; |
return; |
| 75 |
} |
} |
| 76 |
|
|
| 78 |
'text/cache-manifest' => 'WebHACC::Language::CacheManifest', |
'text/cache-manifest' => 'WebHACC::Language::CacheManifest', |
| 79 |
'text/css' => 'WebHACC::Language::CSS', |
'text/css' => 'WebHACC::Language::CSS', |
| 80 |
'text/html' => 'WebHACC::Language::HTML', |
'text/html' => 'WebHACC::Language::HTML', |
| 81 |
|
'text/x-h2h' => 'WebHACC::Language::H2H', |
| 82 |
'text/x-webidl' => 'WebHACC::Language::WebIDL', |
'text/x-webidl' => 'WebHACC::Language::WebIDL', |
| 83 |
|
|
| 84 |
'text/xml' => 'WebHACC::Language::XML', |
'text/xml' => 'WebHACC::Language::XML', |
| 123 |
unless defined $subinput->{base_uri}; |
unless defined $subinput->{base_uri}; |
| 124 |
$subinput->{parent_input} = $input; |
$subinput->{parent_input} = $input; |
| 125 |
|
|
| 126 |
$subinput->start_section ($result); |
my $subresult = WebHACC::Result->new; |
| 127 |
check_and_print ($subinput => $result => $out); |
$subresult->output ($out); |
| 128 |
$subinput->end_section ($result); |
$subresult->parent_result ($result); |
| 129 |
|
|
| 130 |
|
$subinput->start_section ($subresult); |
| 131 |
|
check_and_print ($subinput => $subresult => $out); |
| 132 |
|
$subinput->end_section ($subresult); |
| 133 |
} |
} |
| 134 |
|
|
| 135 |
|
$result->generate_result_section; |
| 136 |
|
|
| 137 |
$out->input ($original_input); |
$out->input ($original_input); |
| 138 |
} # check_and_print |
} # check_and_print |
| 139 |
|
|