--- test/html-webhacc/cc.cgi 2007/07/16 13:56:26 1.12 +++ test/html-webhacc/cc.cgi 2007/07/17 13:52:54 1.13 @@ -50,7 +50,8 @@ -

Web Document Conformance Checker (beta)

+

Web Document Conformance Checker +(beta)

@@ -227,7 +228,9 @@ $i++; print STDOUT qq[

] . get_node_link ($table_el) . q[

]; - + + ## TODO: Make |ContentChecker| return |form_table| result + ## so that this script don't have to run the algorithm twice. my $table = Whatpm::HTMLTable->form_table ($table_el); for (@{$table->{column_group}}, @{$table->{column}}, $table->{caption}) { @@ -262,6 +265,22 @@ print STDOUT qq[
]; } + if (keys %{$elements->{id}}) { + print STDOUT qq[ +
+

Identifiers

+ +
+]; + for my $id (sort {$a cmp $b} keys %{$elements->{id}}) { + print STDOUT qq[
@{[htescape $id]}
]; + for (@{$elements->{id}->{$id}}) { + print STDOUT qq[
].get_node_link ($_).qq[
]; + } + } + print STDOUT qq[
]; + } + if (keys %{$elements->{term}}) { print STDOUT qq[
@@ -673,4 +692,4 @@ =cut -## $Date: 2007/07/16 13:56:26 $ +## $Date: 2007/07/17 13:52:54 $