]> iEval git - html-element-library.git/commitdiff
Fix tests
authorMarius Gavrilescu <marius@ieval.ro>
Thu, 25 Dec 2014 20:34:36 +0000 (22:34 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Sat, 27 Dec 2014 09:01:32 +0000 (11:01 +0200)
59 files changed:
Makefile.PL
t/TestUtils.pm [deleted file]
t/crunch.t
t/defmap.t
t/dual_iter.t
t/fillinform.t
t/hashmap.t
t/highlander.t
t/highlander2.t
t/html/crunch/crunch.exp
t/html/crunch/crunch.gen [deleted file]
t/html/defmap/defmap.gen [deleted file]
t/html/dual_iter.gen [deleted file]
t/html/fillinform/fillinform.exp
t/html/fillinform/fillinform.gen [deleted file]
t/html/fillinform/fillinform.initial
t/html/highlander-15.gen [deleted file]
t/html/highlander-5.gen [deleted file]
t/html/highlander-50.gen [deleted file]
t/html/highlander2-15.gen [deleted file]
t/html/highlander2-27.gen [deleted file]
t/html/highlander2-5.gen [deleted file]
t/html/highlander2-passover.gen [deleted file]
t/html/iter.gen [deleted file]
t/html/iter2.gen [deleted file]
t/html/same_as/same_as.gen [deleted file]
t/html/table-alt.gen [deleted file]
t/html/table.gen [deleted file]
t/html/table2-table_ld-arrayref.exp [deleted file]
t/html/table2-table_ld-arrayref.gen [deleted file]
t/html/table2-table_ld-arrayref.html [deleted file]
t/html/table2-table_ld-coderef.exp [deleted file]
t/html/table2-table_ld-coderef.gen [deleted file]
t/html/table2-table_ld-coderef.html [deleted file]
t/html/table2-table_ld-default.exp [deleted file]
t/html/table2-table_ld-default.gen [deleted file]
t/html/table2-table_ld-default.html [deleted file]
t/html/table2-table_ld.exp [new file with mode: 0644]
t/html/table2-tr_ld-arrayref.gen [deleted file]
t/html/table2-tr_ld-arrayref.html
t/html/table2-tr_ld-coderef.exp
t/html/table2-tr_ld-coderef.gen [deleted file]
t/html/table2-tr_ld-default.gen [deleted file]
t/html/table2.exp
t/html/table2.gen [deleted file]
t/html/table2.html
t/html/unroll_select.exp
t/html/unroll_select.gen [deleted file]
t/html/unroll_select.html
t/iter.t
t/iter2.t
t/m/TestUtils.pm [deleted file]
t/passover.t
t/table-alt.t
t/table.t
t/table2-table_ld.t
t/table2-tr_ld.t
t/table2.t
t/unroll_select.t

index 60d6ffeb2e5611e7cdcb0ad29e52d3b1436e06c3..7d2fdb4952c058743d12429ab77c24a738f2d85a 100644 (file)
@@ -17,7 +17,8 @@ WriteMakefile(
                qw/File::Slurp         0
                   HTML::PrettyPrinter 0
                   HTML::TreeBuilder   0
-                  Test::More          0/,
+                  Test::More          0
+                  Test::XML           0/,
        },
        PREREQ_PM        => {
                qw/Array::Group          0
diff --git a/t/TestUtils.pm b/t/TestUtils.pm
deleted file mode 100644 (file)
index e4bb274..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-package TestUtils;
-
-use HTML::PrettyPrinter;
-use FileHandle;
-use File::Slurp;
-
-require Exporter;
-@ISA=qw(Exporter);
-@EXPORT = qw(ptree html_dir strip_ws);
-
-sub html_dir {
-  't/html/'
-}
-
-sub ptree {
-  my $tree = shift or die 'must supply tree';
-  my $out = shift or die 'must supply outfile';
-  
-  my $hpp = HTML::PrettyPrinter->new
-    (tabify => 0, allow_forced_nl => 1, quote_attr => 1);
-  my $lines = $hpp->format($tree);
-  
-  write_file $out, @$lines;
-  join '', @$lines;
-}
-
-sub strip_ws {
-  my($str)=@_;
-
-  $str =~ s/\s+//g;
-  $str;
-}
-
-
-1;
index 383d5ed807dd90241a440502ab69cd61e19237ca..627ef2a3d6320119d37942fce2fc83a21d38d95c 100644 (file)
@@ -1,11 +1,9 @@
 # This might look like shell script, but it's actually -*- perl -*-
 use strict;use warnings;
-use lib qw(t/ t/m/);
 
-use File::Slurp;
+use File::Slurp qw/read_file/;
 use Test::More;
 
-use TestUtils;
 use HTML::TreeBuilder;
 use HTML::Element::Library;
 use Test::XML;
@@ -16,17 +14,9 @@ sub tage {
 
   my $tree = HTML::TreeBuilder->new_from_file("$root.initial")->guts;
 
-
   $tree->crunch(look_down => [ class => 'imageElement' ], leave => 1);
 
-  my $generated_html = strip_ws ( ptree($tree, "$root.gen") );
-  # must put read_file() in scalar context so that a string instead of first line is returned.
-  my $expected_html = strip_ws(scalar File::Slurp::read_file("$root.exp"));
-
-  #warn "g:$generated_html";
-  #warn "e:$expected_html";
-
-  is ($generated_html, $expected_html, "HTML for crunch");
+  is_xml $tree->as_XML, scalar read_file("$root.exp"), 'XML for crunch';
 }
 
 
index c26ab43ec67b207bbb6a70f0da0001d470a00457..26eeeedcdf577faa3594450a540a92dc135c7c5a 100644 (file)
@@ -1,12 +1,10 @@
 # This might look like shell script, but it's actually -*- perl -*-
 use strict;use warnings;
-use lib qw(t/ t/m/);
 
 use File::Slurp;
 use Test::More qw(no_plan);
 use Test::XML;
 
-use TestUtils;
 use HTML::TreeBuilder;
 use HTML::Element::Library;
 
@@ -22,11 +20,11 @@ sub tage {
 
   $tree->defmap(smap => \%data, 1);
 
-  my $g = ptree($tree, "$root.gen");
+  my $g = $tree->as_XML;
   my $e = File::Slurp::read_file("$root.exp");
   warn "generated:$g:\nexpected:$e:";
 
-  is_xml ($g, $e, "HTML for defmap");
+  is_xml ($g, $e, "XML for defmap");
 }
 
 
index dfe5b2f54b8dd9264acb29c0bc1a0e9cbb93224c..dbcfb28adf0f5159c44b17c1b98f1240634b979e 100644 (file)
@@ -1,13 +1,12 @@
 # This might look like shell script, but it's actually -*- perl -*-
 use strict;
-use lib qw(t/ t/m/);
 
 use File::Slurp;
 use Test::More qw(no_plan);
 
-use TestUtils;
 use HTML::TreeBuilder;
 use HTML::Element::Library;
+use Test::XML;
 
 # this is a simpler call to iter2()
 
@@ -47,7 +46,6 @@ $tree->iter2(
 
  );
 
-  my $generated_html = ptree($tree, "$root.gen");
 
-  is ($generated_html, File::Slurp::read_file("$root.exp"), 
-      "HTML for generated li");
+  is_xml ($tree->as_XML, scalar File::Slurp::read_file("$root.exp"), 
+      "XML for generated li");
index 3a6c0f293de35487bef8770ad1957e4e21e295d3..d989f4e4c2c3ac14c1b7f810545f647c190c1619 100644 (file)
@@ -1,13 +1,12 @@
 # This might look like shell script, but it's actually -*- perl -*-
 use strict;use warnings;
-use lib qw(t/ t/m/);
 
 use File::Slurp;
 use Test::More qw(no_plan);
 
-use TestUtils;
 use HTML::TreeBuilder;
 use HTML::Element::Library;
+use Test::XML;
 
 sub tage {
 
@@ -19,9 +18,7 @@ sub tage {
 
   my $new_tree = HTML::TreeBuilder->new_from_content( $tree->fillinform(\%data) ) ;
 
-  my $generated_html = ptree($new_tree, "$root.gen");
-
-  is ($generated_html, File::Slurp::read_file("$root.exp"), "HTML for fillinform");
+  is_xml ($new_tree->as_XML, scalar File::Slurp::read_file("$root.exp"), "HTML for fillinform");
 }
 
 
index 285f64c6fa272fa1d018561e6a45568c4c727bae..9ed28641c89cb8af7867b0e6a99e8fd4f6794a2d 100644 (file)
@@ -1,13 +1,12 @@
 # This might look like shell script, but it's actually -*- perl -*-
 use strict;
-use lib qw(t/ t/m/);
 
 use File::Slurp;
 use Test::More qw(no_plan);
 
-use TestUtils;
 use HTML::TreeBuilder;
 use HTML::Element::Library;
+use Test::XML;
 
 sub replace_age { 
   my $branch = shift;
@@ -29,15 +28,11 @@ sub tage {
   $tree->hash_map
     (hash    => \%data, 
      to_attr => 'sid', 
-     excluding => [ 'email' ],
-     debug   => 1
+     excluding => [ 'email' ]
     );
 
-  my $generated_html = ptree($tree, "$root.gen");
-
-  is ($generated_html, File::Slurp::read_file("$root.exp"), "HTML for same_as");
+  is_xml ($tree->as_XML, scalar File::Slurp::read_file("$root.exp"), "XML for same_as");
 }
 
 
 tage();
-
index 061cc5f4dcbdbfb85f1708d1bdb3d7aa7413e2a0..e9f754c057738ea4074a72ed3a799074610594d3 100644 (file)
@@ -1,14 +1,12 @@
 # This might look like shell script, but it's actually -*- perl -*-
 use strict;
-use lib qw(t/ t/m/);
 
 use File::Slurp;
 use Test::More qw(no_plan);
 
-use TestUtils;
 use HTML::TreeBuilder;
 use HTML::Element::Library;
-
+use Test::XML;
 
 sub tage {
   my $age = shift;
@@ -27,9 +25,8 @@ sub tage {
 
   my $root = "t/html/highlander-$age";
 
-  my $generated_html = ptree($tree, "$root.gen");
-
-  is ($generated_html, File::Slurp::read_file("$root.exp"), "HTML for $age");
+  local $_; # XML::Parser does not like read-only $_ (RT #101129)
+  is_xml ($tree->as_XML, scalar File::Slurp::read_file("$root.exp"), "XML for $age");
 }
 
 
index 479553f6a9f75b940c89fa38e04b6bd532f41bb8..c145b6859b8601f0153999a5ddd475d8890a4d2e 100644 (file)
@@ -1,13 +1,12 @@
 # This might look like shell script, but it's actually -*- perl -*-
 use strict;
-use lib qw(t/ t/m/);
 
 use File::Slurp;
 use Test::More qw(no_plan);
 
-use TestUtils;
 use HTML::TreeBuilder;
 use HTML::Element::Library;
+use Test::XML;
 
 sub replace_age { 
   my $branch = shift;
@@ -41,9 +40,8 @@ sub tage {
 
   my $root = "t/html/highlander2-$age";
 
-  my $generated_html = ptree($tree, "$root.gen");
-
-  is ($generated_html, File::Slurp::read_file("$root.exp"), "HTML for $age");
+  local $_; # XML::Parser does not like read-only $_ (RT #101129)
+  is_xml ($tree->as_XML, scalar File::Slurp::read_file("$root.exp"), "HTML for $age");
 }
 
 
index 5c5b118c4b649b5b2ca937ef4caff99c0dfed2dd..272e3348790c656b69d5c1a4c1828b18b196d60f 100644 (file)
@@ -1,30 +1,30 @@
-<html>\r
-  <head>\r
-<script src="smooth/scripts/mootools-1.2.1-core-yc.js" type="text/javascript"></script>\r
-<script src="smooth/scripts/mootools-1.2-more.js" type="text/javascript"></script>\r
-<script src="smooth/scripts/jd.gallery.js" type="text/javascript"></script>\r
-    <link rel="stylesheet" /="/" href="smooth/css/jd.gallery.css"\r
-      media="screen" type="text/css">\r
-  </head>\r
-  <body>\r
-<script type="text/javascript">\r\r
-function startGallery() {\r\r
-var myGallery = new gallery($('myGallery'), {\r\r
-timed: true\r\r
-});\r\r
-}\r\r
-window.addEvent('domready', startGallery);\r\r
-</script>\r
-    <div id="myGallery">\r
-      <div class="imageElement">\r
-        <h3>Item 1 Title</h3>\r
-        <p>Item 1 Description</p>\r
-        <a href="gallery-images/item-1/" title="open image" class="open"></a>\r
-        <img /="/" alt="Item 1 Title"\r
-          src="http://smoothgallery.jondesign.net/assets/images/samples/77196_6784-gallery.jpg"\r
-          class="full"> <img /="/" alt="thumbnail of Item 1 Title"\r
-          src="http://smoothgallery.jondesign.net/assets/images/samples/77196_6784-mini.jpg"\r
-          class="thumbnail"></div>\r
-    </div>\r
-  </body>\r
-</html>\r
+<html>
+  <head>
+<script src="smooth/scripts/mootools-1.2.1-core-yc.js" type="text/javascript"></script>
+<script src="smooth/scripts/mootools-1.2-more.js" type="text/javascript"></script>
+<script src="smooth/scripts/jd.gallery.js" type="text/javascript"></script>
+    <link rel="stylesheet" href="smooth/css/jd.gallery.css"
+      media="screen" type="text/css"/>
+  </head>
+  <body>
+<script type="text/javascript">
+function startGallery() {
+var myGallery = new gallery($('myGallery'), {
+timed: true
+});
+}
+window.addEvent('domready', startGallery);
+</script>
+    <div id="myGallery">
+      <div class="imageElement">
+        <h3>Item 1 Title</h3>
+        <p>Item 1 Description</p>
+        <a href="gallery-images/item-1/" title="open image" class="open"></a>
+        <img alt="Item 1 Title"
+          src="http://smoothgallery.jondesign.net/assets/images/samples/77196_6784-gallery.jpg"
+          class="full"/> <img alt="thumbnail of Item 1 Title"
+          src="http://smoothgallery.jondesign.net/assets/images/samples/77196_6784-mini.jpg"
+          class="thumbnail"/></div>
+    </div>
+  </body>
+</html>
diff --git a/t/html/crunch/crunch.gen b/t/html/crunch/crunch.gen
deleted file mode 100644 (file)
index 5c5b118..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<html>\r
-  <head>\r
-<script src="smooth/scripts/mootools-1.2.1-core-yc.js" type="text/javascript"></script>\r
-<script src="smooth/scripts/mootools-1.2-more.js" type="text/javascript"></script>\r
-<script src="smooth/scripts/jd.gallery.js" type="text/javascript"></script>\r
-    <link rel="stylesheet" /="/" href="smooth/css/jd.gallery.css"\r
-      media="screen" type="text/css">\r
-  </head>\r
-  <body>\r
-<script type="text/javascript">\r\r
-function startGallery() {\r\r
-var myGallery = new gallery($('myGallery'), {\r\r
-timed: true\r\r
-});\r\r
-}\r\r
-window.addEvent('domready', startGallery);\r\r
-</script>\r
-    <div id="myGallery">\r
-      <div class="imageElement">\r
-        <h3>Item 1 Title</h3>\r
-        <p>Item 1 Description</p>\r
-        <a href="gallery-images/item-1/" title="open image" class="open"></a>\r
-        <img /="/" alt="Item 1 Title"\r
-          src="http://smoothgallery.jondesign.net/assets/images/samples/77196_6784-gallery.jpg"\r
-          class="full"> <img /="/" alt="thumbnail of Item 1 Title"\r
-          src="http://smoothgallery.jondesign.net/assets/images/samples/77196_6784-mini.jpg"\r
-          class="thumbnail"></div>\r
-    </div>\r
-  </body>\r
-</html>\r
diff --git a/t/html/defmap/defmap.gen b/t/html/defmap/defmap.gen
deleted file mode 100644 (file)
index f5aabd8..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<tr>
-  <td smap="active">Yes</td>
-  <td smap="pause">arsenal rules</td>
-  <td smap="hold">No</td>
-</tr>
diff --git a/t/html/dual_iter.gen b/t/html/dual_iter.gen
deleted file mode 100644 (file)
index 64c6c8f..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<html>
-  <head></head>
-  <body>
-    <dl class="dual_iter" id="service_plan">
-      <dt class="adstyle">the pros</dt>
-      <dd class="adstyle2">never have to worry about service again</dd>
-      <dt class="adstyle">the cons</dt>
-      <dd class="adstyle2">upfront extra charge on purchase</dd>
-      <dt class="adstyle">our choice</dt>
-      <dd class="adstyle2">go with the extended service plan</dd>
-      <dt class="adstyle">sample header</dt>
-      <dd class="adstyle2">sample data</dd>
-    </dl>
-  </body>
-</html>
index ed123acbbcc03d988dc49f7e6d8d3e5bf3f58211..bbe603edf101735007224a5135a1847565904ff3 100644 (file)
@@ -5,18 +5,18 @@
       <h1>Dialer</h1>
       <form name="appform" id="appform" method="post">
         <div id="city_div"> City:
-          <input /="/" name="city" type="text">
+          <input name="city" type="text"/>
         </div>
         <div id="state_div"> State:
-          <input /="/" value="catatonic" name="state" type="text">
+          <input value="catatonic" name="state" type="text"/>
         </div>
         <div id="company_div"> Company:
-          <input /="/" name="company" type="text">
+          <input name="company" type="text"/>
         </div>
         <div id="data_source_div"> Data Source:
-          <input /="/" name="data_source" type="text">
+          <input name="data_source" type="text"/>
         </div>
-        <input /="/" value="locate records" type="submit">
+        <input value="locate records" type="submit"/>
       </form>
     </div>
   </body>
diff --git a/t/html/fillinform/fillinform.gen b/t/html/fillinform/fillinform.gen
deleted file mode 100644 (file)
index ed123ac..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-<html>
-  <head></head>
-  <body>
-    <div>
-      <h1>Dialer</h1>
-      <form name="appform" id="appform" method="post">
-        <div id="city_div"> City:
-          <input /="/" name="city" type="text">
-        </div>
-        <div id="state_div"> State:
-          <input /="/" value="catatonic" name="state" type="text">
-        </div>
-        <div id="company_div"> Company:
-          <input /="/" name="company" type="text">
-        </div>
-        <div id="data_source_div"> Data Source:
-          <input /="/" name="data_source" type="text">
-        </div>
-        <input /="/" value="locate records" type="submit">
-      </form>
-    </div>
-  </body>
-</html>
index d0269d91b2764931cdfba7fbf855ddd38a1d1101..2661798ce9e1301f3fc623ccd9ef5baca6185836 100644 (file)
@@ -3,19 +3,19 @@
 
     <form id="appform" method="post" name="appform">
       <div id="city_div">
-        City: <input type="text" name="city">
+        City: <input type="text" name="city"/>
       </div>
 
       <div id="state_div">
-        State: <input type="text" name="state">
+        State: <input type="text" name="state"/>
       </div>
 
       <div id="company_div">
-        Company: <input type="text" name="company">
+        Company: <input type="text" name="company"/>
       </div>
 
       <div id="data_source_div">
-        Data Source: <input type="text" name="data_source">
-      </div><input type="submit" value="locate records">
+        Data Source: <input type="text" name="data_source"/>
+      </div><input type="submit" value="locate records"/>
     </form>
   </div>
diff --git a/t/html/highlander-15.gen b/t/html/highlander-15.gen
deleted file mode 100644 (file)
index 48fe062..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<html>
-  <head></head>
-  <body><span id="age_dialog" klass="highlander"><span id="under18"> Sorry,
-        you're not old enough to enter (and too dumb to lie about your age)
-      </span></span></body>
-</html>
diff --git a/t/html/highlander-5.gen b/t/html/highlander-5.gen
deleted file mode 100644 (file)
index 96df6fc..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<html>
-  <head></head>
-  <body><span id="age_dialog" klass="highlander"><span id="under10"> Hello,
-        does your mother know you're using her AOL account?
-      </span></span></body>
-</html>
diff --git a/t/html/highlander-50.gen b/t/html/highlander-50.gen
deleted file mode 100644 (file)
index 1f03edd..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<html>
-  <head></head>
-  <body><span id="age_dialog" klass="highlander"><span id="welcome"> Welcome
-      </span></span></body>
-</html>
diff --git a/t/html/highlander2-15.gen b/t/html/highlander2-15.gen
deleted file mode 100644 (file)
index 20be935..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<html>
-  <head></head>
-  <body><span id="age_dialog" klass="highlander"><span id="under18"> Sorry,
-        you're only <span id="age">15</span> (and too dumb to lie about your
-        age) </span></span></body>
-</html>
diff --git a/t/html/highlander2-27.gen b/t/html/highlander2-27.gen
deleted file mode 100644 (file)
index dd7b2fa..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<html>
-  <head></head>
-  <body><span id="age_dialog" klass="highlander"><span id="welcome"> Welcome,
-        isn't it good to be <span id="age">27</span> years old?
-      </span></span></body>
-</html>
diff --git a/t/html/highlander2-5.gen b/t/html/highlander2-5.gen
deleted file mode 100644 (file)
index b62e6e0..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<html>
-  <head></head>
-  <body><span id="age_dialog" klass="highlander"><span id="under10"> Hello,
-        little <span id="age">5</span>-year old, does your mother know you're
-        using her AOL account? </span></span></body>
-</html>
diff --git a/t/html/highlander2-passover.gen b/t/html/highlander2-passover.gen
deleted file mode 100644 (file)
index 8de5305..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<html>
-  <head></head>
-  <body><span id="age_dialog" klass="highlander"> <span id="under18"> Sorry,
-        you're only <span id="age">AGE</span> (and too dumb to lie about your
-        age) </span> </span></body>
-</html>
diff --git a/t/html/iter.gen b/t/html/iter.gen
deleted file mode 100644 (file)
index 746633e..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<html>
-  <head></head>
-  <body>Here are the things I need from the store:
-    <ul>
-      <li class="store_items">bread</li>
-      <li class="store_items">butter</li>
-      <li class="store_items">vodka</li>
-    </ul>
-  </body>
-</html>
diff --git a/t/html/iter2.gen b/t/html/iter2.gen
deleted file mode 100644 (file)
index 17148cf..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<html>
-  <head></head>
-  <body>Here are the type of people you meet at XYZ, inc:
-    <dl>
-      <dt>Programmer</dt>
-      <dd>one who likes Perl and Seamstress</dd>
-      <dt>DBA</dt>
-      <dd>one who does business as</dd>
-      <dt>Admin</dt>
-      <dd>one who plays Tetris all day</dd>
-      <dt> Poet </dt>
-      <dd> A relative of Edgar Allan Poe. </dd>
-    </dl>
-  </body>
-</html>
diff --git a/t/html/same_as/same_as.gen b/t/html/same_as/same_as.gen
deleted file mode 100644 (file)
index 22486ba..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<html>
-  <head>
-    <title>HO HO HA HA HA</title>
-  </head>
-  <body>
-    <table>
-      <tr align="left" sclass="tr" valign="top" class="alt">
-        <td sid="people_id">888</td>
-        <td sid="phone">444-4444</td>
-        <td sid="email"><a href="mailto:leave-me-alone@gmail.com" id="a_email"
-            >should-not-be-touched@seamstress.com</a></td>
-      </tr>
-    </table>
-  </body>
-</html>
diff --git a/t/html/table-alt.gen b/t/html/table-alt.gen
deleted file mode 100644 (file)
index 60c9f06..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<html>
-  <head></head>
-  <body>
-    <table class="supply" id="load_data">
-      <tr>
-        <th>name</th>
-        <th>age </th>
-        <th>weight</th>
-      </tr>
-      <tr bgcolor="white" id="iterate1">
-        <td id="name">bob</td>
-        <td id="age">99</td>
-        <td id="weight">99</td>
-      </tr>
-      <tr bgcolor="#CCCC99" id="iterate2">
-        <td id="name">bill</td>
-        <td id="age">12</td>
-        <td id="weight">52</td>
-      </tr>
-      <tr bgcolor="white" id="iterate1">
-        <td id="name">brian</td>
-        <td id="age">44</td>
-        <td id="weight">80</td>
-      </tr>
-      <tr bgcolor="#CCCC99" id="iterate2">
-        <td id="name">babette</td>
-        <td id="age">52</td>
-        <td id="weight">124</td>
-      </tr>
-      <tr bgcolor="white" id="iterate1">
-        <td id="name">bobo</td>
-        <td id="age">12</td>
-        <td id="weight">120</td>
-      </tr>
-      <tr bgcolor="#CCCC99" id="iterate2">
-        <td id="name">bix</td>
-        <td id="age">43</td>
-        <td id="weight">230</td>
-      </tr>
-    </table>
-  </body>
-</html>
diff --git a/t/html/table.gen b/t/html/table.gen
deleted file mode 100644 (file)
index c11b8f4..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<html>
-  <head></head>
-  <body>
-    <table class="supply" id="load_data">
-      <tr>
-        <th>name</th>
-        <th>age </th>
-        <th>weight</th>
-      </tr>
-      <tr id="data_row">
-        <td id="name">bob</td>
-        <td id="age">99</td>
-        <td id="weight">99</td>
-      </tr>
-      <tr id="data_row">
-        <td id="name">bill</td>
-        <td id="age">12</td>
-        <td id="weight">52</td>
-      </tr>
-      <tr id="data_row">
-        <td id="name">brian</td>
-        <td id="age">44</td>
-        <td id="weight">80</td>
-      </tr>
-      <tr id="data_row">
-        <td id="name">babette</td>
-        <td id="age">52</td>
-        <td id="weight">124</td>
-      </tr>
-      <tr id="data_row">
-        <td id="name">bobo</td>
-        <td id="age">12</td>
-        <td id="weight">120</td>
-      </tr>
-      <tr id="data_row">
-        <td id="name">bix</td>
-        <td id="age">43</td>
-        <td id="weight">230</td>
-      </tr>
-    </table>
-  </body>
-</html>
diff --git a/t/html/table2-table_ld-arrayref.exp b/t/html/table2-table_ld-arrayref.exp
deleted file mode 100644 (file)
index 328a429..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-<table frame="hsides" rules="groups" border="2">
-  <caption>CODE-PAGE SUPPORT IN MICROSOFT WINDOWS</caption>
-  <colgroup align="center"></colgroup>
-  <colgroup align="left"></colgroup>
-  <colgroup align="center" span="2"></colgroup>
-  <colgroup align="center" span="3">
-    <thead valign="top">
-      <tr>
-        <th>Code-Page<br>ID </th>
-        <th>Name </th>
-        <th>ACP </th>
-        <th>OEMCP </th>
-        <th>Windows<br>NT 3.1 </th>
-        <th>Windows<br>NT 3.51 </th>
-        <th>Windows<br>95 </th>
-      </tr>
-      <tbody>
-        <tr>
-          <td>1200</td>
-          <td>Unicode (BMP of ISO/IEC-10646)</td>
-          <td></td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>* </td>
-        </tr>
-        <tr>
-          <td>1250</td>
-          <td>Windows 3.1 Eastern European</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1251</td>
-          <td>Windows 3.1 Cyrillic</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1252</td>
-          <td>Windows 3.1 US (ANSI)</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1253</td>
-          <td>Windows 3.1 Greek</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1254</td>
-          <td>Windows 3.1 Turkish</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1255</td>
-          <td>Hebrew</td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1256</td>
-          <td>Arabic</td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1257</td>
-          <td>Baltic</td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1361</td>
-          <td>Korean (Johab)</td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>**</td>
-          <td>X </td>
-        </tr>
-      </tbody>
-      <tbody>
-        <tr>
-          <td>437</td>
-          <td>MS-DOS United States</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>708</td>
-          <td>Arabic (ASMO 708)</td>
-          <td></td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>709</td>
-          <td>Arabic (ASMO 449+, BCON V4)</td>
-          <td></td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>710</td>
-          <td>Arabic (Transparent Arabic)</td>
-          <td></td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>720</td>
-          <td>Arabic (Transparent ASMO)</td>
-          <td></td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>X</td>
-        </tr>
-      </tbody>
-    </thead>
-  </colgroup>
-</table>
diff --git a/t/html/table2-table_ld-arrayref.gen b/t/html/table2-table_ld-arrayref.gen
deleted file mode 100644 (file)
index 328a429..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-<table frame="hsides" rules="groups" border="2">
-  <caption>CODE-PAGE SUPPORT IN MICROSOFT WINDOWS</caption>
-  <colgroup align="center"></colgroup>
-  <colgroup align="left"></colgroup>
-  <colgroup align="center" span="2"></colgroup>
-  <colgroup align="center" span="3">
-    <thead valign="top">
-      <tr>
-        <th>Code-Page<br>ID </th>
-        <th>Name </th>
-        <th>ACP </th>
-        <th>OEMCP </th>
-        <th>Windows<br>NT 3.1 </th>
-        <th>Windows<br>NT 3.51 </th>
-        <th>Windows<br>95 </th>
-      </tr>
-      <tbody>
-        <tr>
-          <td>1200</td>
-          <td>Unicode (BMP of ISO/IEC-10646)</td>
-          <td></td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>* </td>
-        </tr>
-        <tr>
-          <td>1250</td>
-          <td>Windows 3.1 Eastern European</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1251</td>
-          <td>Windows 3.1 Cyrillic</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1252</td>
-          <td>Windows 3.1 US (ANSI)</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1253</td>
-          <td>Windows 3.1 Greek</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1254</td>
-          <td>Windows 3.1 Turkish</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1255</td>
-          <td>Hebrew</td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1256</td>
-          <td>Arabic</td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1257</td>
-          <td>Baltic</td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1361</td>
-          <td>Korean (Johab)</td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>**</td>
-          <td>X </td>
-        </tr>
-      </tbody>
-      <tbody>
-        <tr>
-          <td>437</td>
-          <td>MS-DOS United States</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>708</td>
-          <td>Arabic (ASMO 708)</td>
-          <td></td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>709</td>
-          <td>Arabic (ASMO 449+, BCON V4)</td>
-          <td></td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>710</td>
-          <td>Arabic (Transparent Arabic)</td>
-          <td></td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>720</td>
-          <td>Arabic (Transparent ASMO)</td>
-          <td></td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>X</td>
-        </tr>
-      </tbody>
-    </thead>
-  </colgroup>
-</table>
diff --git a/t/html/table2-table_ld-arrayref.html b/t/html/table2-table_ld-arrayref.html
deleted file mode 100644 (file)
index cffaba2..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-  <head>
-    <title>Complex HTML Table</title>
-  </head>
-
-  <body style="font-family: Arial, Helvetica, sans-serif" >
-    <h1>Complex HTML Table</h1>
-
-    <P>
-      This table comes from 
-      <a
-       href="http://www.w3.org/TR/REC-html40/struct/tables.html#h-11.5">
-       the w3 spec on tables
-      </a>. I am using it to try out the <code>table2()</code> API call
-      that is part of the new release of 
-      <a
-       href=http://search.cpan.org/search?query=Element%3A%3ALibrary&mode=all>
-       <code>HTML::Element::Library</code>
-      </a>.
-    </p>
-
-    
-    <P>
-
-    <TABLE border="2" frame="hsides" rules="groups">
-      <CAPTION>CODE-PAGE SUPPORT IN MICROSOFT WINDOWS</CAPTION>
-      <COLGROUP align="center">
-      <COLGROUP align="left">
-      <COLGROUP align="center" span="2">
-      <COLGROUP align="center" span="3">
-      <THEAD valign="top">
-       <TR>
-         <TH>Code-Page<BR>ID
-         <TH>Name
-         <TH>ACP
-         <TH>OEMCP
-         <TH>Windows<BR>NT 3.1
-         <TH>Windows<BR>NT 3.51
-         <TH>Windows<BR>95
-         </th>
-       </tr>
-      <TBODY>
-       <TR><TD>1200<TD>Unicode (BMP of ISO/IEC-10646)<TD><TD><TD>X<TD>X<TD>*
-       <TR><TD>1250<TD>Windows 3.1 Eastern European<TD>X<TD><TD>X<TD>X<TD>X
-       <TR><TD>1251<TD>Windows 3.1 Cyrillic<TD>X<TD><TD>X<TD>X<TD>X
-       <TR><TD>1252<TD>Windows 3.1 US (ANSI)<TD>X<TD><TD>X<TD>X<TD>X
-       <TR><TD>1253<TD>Windows 3.1 Greek<TD>X<TD><TD>X<TD>X<TD>X
-       <TR><TD>1254<TD>Windows 3.1 Turkish<TD>X<TD><TD>X<TD>X<TD>X
-       <TR><TD>1255<TD>Hebrew<TD>X<TD><TD><TD><TD>X
-       <TR><TD>1256<TD>Arabic<TD>X<TD><TD><TD><TD>X
-       <TR><TD>1257<TD>Baltic<TD>X<TD><TD><TD><TD>X
-       <TR><TD>1361<TD>Korean (Johab)<TD>X<TD><TD><TD>**<TD>X
-         </td>
-       </tr>
-      </tbody>
-      <TBODY>
-       <TR><TD>437<TD>MS-DOS United States<TD><TD>X<TD>X<TD>X<TD>X
-       <TR><TD>708<TD>Arabic (ASMO 708)<TD><TD>X<TD><TD><TD>X
-       <TR><TD>709<TD>Arabic (ASMO 449+, BCON V4)<TD><TD>X<TD><TD><TD>X
-       <TR><TD>710<TD>Arabic (Transparent Arabic)<TD><TD>X<TD><TD><TD>X
-       <TR><TD>720<TD>Arabic (Transparent ASMO)<TD><TD>X<TD><TD><TD>X</td>
-       </tr>
-      </tbody>
-
-    </TABLE>
-
-
-
-
-    <hr>
-    <address><a href="mailto:metaperl@gmail.com">metaperl</a></address>
-<!-- Created: Fri Nov 25 08:48:48 PST 2005 -->
-<!-- hhmts start -->
-Last modified: Fri Nov 25 08:57:41 PST 2005
-<!-- hhmts end -->
-  </body>
-</html>
diff --git a/t/html/table2-table_ld-coderef.exp b/t/html/table2-table_ld-coderef.exp
deleted file mode 100644 (file)
index 328a429..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-<table frame="hsides" rules="groups" border="2">
-  <caption>CODE-PAGE SUPPORT IN MICROSOFT WINDOWS</caption>
-  <colgroup align="center"></colgroup>
-  <colgroup align="left"></colgroup>
-  <colgroup align="center" span="2"></colgroup>
-  <colgroup align="center" span="3">
-    <thead valign="top">
-      <tr>
-        <th>Code-Page<br>ID </th>
-        <th>Name </th>
-        <th>ACP </th>
-        <th>OEMCP </th>
-        <th>Windows<br>NT 3.1 </th>
-        <th>Windows<br>NT 3.51 </th>
-        <th>Windows<br>95 </th>
-      </tr>
-      <tbody>
-        <tr>
-          <td>1200</td>
-          <td>Unicode (BMP of ISO/IEC-10646)</td>
-          <td></td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>* </td>
-        </tr>
-        <tr>
-          <td>1250</td>
-          <td>Windows 3.1 Eastern European</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1251</td>
-          <td>Windows 3.1 Cyrillic</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1252</td>
-          <td>Windows 3.1 US (ANSI)</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1253</td>
-          <td>Windows 3.1 Greek</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1254</td>
-          <td>Windows 3.1 Turkish</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1255</td>
-          <td>Hebrew</td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1256</td>
-          <td>Arabic</td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1257</td>
-          <td>Baltic</td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1361</td>
-          <td>Korean (Johab)</td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>**</td>
-          <td>X </td>
-        </tr>
-      </tbody>
-      <tbody>
-        <tr>
-          <td>437</td>
-          <td>MS-DOS United States</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>708</td>
-          <td>Arabic (ASMO 708)</td>
-          <td></td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>709</td>
-          <td>Arabic (ASMO 449+, BCON V4)</td>
-          <td></td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>710</td>
-          <td>Arabic (Transparent Arabic)</td>
-          <td></td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>720</td>
-          <td>Arabic (Transparent ASMO)</td>
-          <td></td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>X</td>
-        </tr>
-      </tbody>
-    </thead>
-  </colgroup>
-</table>
diff --git a/t/html/table2-table_ld-coderef.gen b/t/html/table2-table_ld-coderef.gen
deleted file mode 100644 (file)
index 328a429..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-<table frame="hsides" rules="groups" border="2">
-  <caption>CODE-PAGE SUPPORT IN MICROSOFT WINDOWS</caption>
-  <colgroup align="center"></colgroup>
-  <colgroup align="left"></colgroup>
-  <colgroup align="center" span="2"></colgroup>
-  <colgroup align="center" span="3">
-    <thead valign="top">
-      <tr>
-        <th>Code-Page<br>ID </th>
-        <th>Name </th>
-        <th>ACP </th>
-        <th>OEMCP </th>
-        <th>Windows<br>NT 3.1 </th>
-        <th>Windows<br>NT 3.51 </th>
-        <th>Windows<br>95 </th>
-      </tr>
-      <tbody>
-        <tr>
-          <td>1200</td>
-          <td>Unicode (BMP of ISO/IEC-10646)</td>
-          <td></td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>* </td>
-        </tr>
-        <tr>
-          <td>1250</td>
-          <td>Windows 3.1 Eastern European</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1251</td>
-          <td>Windows 3.1 Cyrillic</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1252</td>
-          <td>Windows 3.1 US (ANSI)</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1253</td>
-          <td>Windows 3.1 Greek</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1254</td>
-          <td>Windows 3.1 Turkish</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1255</td>
-          <td>Hebrew</td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1256</td>
-          <td>Arabic</td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1257</td>
-          <td>Baltic</td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1361</td>
-          <td>Korean (Johab)</td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>**</td>
-          <td>X </td>
-        </tr>
-      </tbody>
-      <tbody>
-        <tr>
-          <td>437</td>
-          <td>MS-DOS United States</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>708</td>
-          <td>Arabic (ASMO 708)</td>
-          <td></td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>709</td>
-          <td>Arabic (ASMO 449+, BCON V4)</td>
-          <td></td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>710</td>
-          <td>Arabic (Transparent Arabic)</td>
-          <td></td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>720</td>
-          <td>Arabic (Transparent ASMO)</td>
-          <td></td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>X</td>
-        </tr>
-      </tbody>
-    </thead>
-  </colgroup>
-</table>
diff --git a/t/html/table2-table_ld-coderef.html b/t/html/table2-table_ld-coderef.html
deleted file mode 100644 (file)
index cffaba2..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-  <head>
-    <title>Complex HTML Table</title>
-  </head>
-
-  <body style="font-family: Arial, Helvetica, sans-serif" >
-    <h1>Complex HTML Table</h1>
-
-    <P>
-      This table comes from 
-      <a
-       href="http://www.w3.org/TR/REC-html40/struct/tables.html#h-11.5">
-       the w3 spec on tables
-      </a>. I am using it to try out the <code>table2()</code> API call
-      that is part of the new release of 
-      <a
-       href=http://search.cpan.org/search?query=Element%3A%3ALibrary&mode=all>
-       <code>HTML::Element::Library</code>
-      </a>.
-    </p>
-
-    
-    <P>
-
-    <TABLE border="2" frame="hsides" rules="groups">
-      <CAPTION>CODE-PAGE SUPPORT IN MICROSOFT WINDOWS</CAPTION>
-      <COLGROUP align="center">
-      <COLGROUP align="left">
-      <COLGROUP align="center" span="2">
-      <COLGROUP align="center" span="3">
-      <THEAD valign="top">
-       <TR>
-         <TH>Code-Page<BR>ID
-         <TH>Name
-         <TH>ACP
-         <TH>OEMCP
-         <TH>Windows<BR>NT 3.1
-         <TH>Windows<BR>NT 3.51
-         <TH>Windows<BR>95
-         </th>
-       </tr>
-      <TBODY>
-       <TR><TD>1200<TD>Unicode (BMP of ISO/IEC-10646)<TD><TD><TD>X<TD>X<TD>*
-       <TR><TD>1250<TD>Windows 3.1 Eastern European<TD>X<TD><TD>X<TD>X<TD>X
-       <TR><TD>1251<TD>Windows 3.1 Cyrillic<TD>X<TD><TD>X<TD>X<TD>X
-       <TR><TD>1252<TD>Windows 3.1 US (ANSI)<TD>X<TD><TD>X<TD>X<TD>X
-       <TR><TD>1253<TD>Windows 3.1 Greek<TD>X<TD><TD>X<TD>X<TD>X
-       <TR><TD>1254<TD>Windows 3.1 Turkish<TD>X<TD><TD>X<TD>X<TD>X
-       <TR><TD>1255<TD>Hebrew<TD>X<TD><TD><TD><TD>X
-       <TR><TD>1256<TD>Arabic<TD>X<TD><TD><TD><TD>X
-       <TR><TD>1257<TD>Baltic<TD>X<TD><TD><TD><TD>X
-       <TR><TD>1361<TD>Korean (Johab)<TD>X<TD><TD><TD>**<TD>X
-         </td>
-       </tr>
-      </tbody>
-      <TBODY>
-       <TR><TD>437<TD>MS-DOS United States<TD><TD>X<TD>X<TD>X<TD>X
-       <TR><TD>708<TD>Arabic (ASMO 708)<TD><TD>X<TD><TD><TD>X
-       <TR><TD>709<TD>Arabic (ASMO 449+, BCON V4)<TD><TD>X<TD><TD><TD>X
-       <TR><TD>710<TD>Arabic (Transparent Arabic)<TD><TD>X<TD><TD><TD>X
-       <TR><TD>720<TD>Arabic (Transparent ASMO)<TD><TD>X<TD><TD><TD>X</td>
-       </tr>
-      </tbody>
-
-    </TABLE>
-
-
-
-
-    <hr>
-    <address><a href="mailto:metaperl@gmail.com">metaperl</a></address>
-<!-- Created: Fri Nov 25 08:48:48 PST 2005 -->
-<!-- hhmts start -->
-Last modified: Fri Nov 25 08:57:41 PST 2005
-<!-- hhmts end -->
-  </body>
-</html>
diff --git a/t/html/table2-table_ld-default.exp b/t/html/table2-table_ld-default.exp
deleted file mode 100644 (file)
index 328a429..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-<table frame="hsides" rules="groups" border="2">
-  <caption>CODE-PAGE SUPPORT IN MICROSOFT WINDOWS</caption>
-  <colgroup align="center"></colgroup>
-  <colgroup align="left"></colgroup>
-  <colgroup align="center" span="2"></colgroup>
-  <colgroup align="center" span="3">
-    <thead valign="top">
-      <tr>
-        <th>Code-Page<br>ID </th>
-        <th>Name </th>
-        <th>ACP </th>
-        <th>OEMCP </th>
-        <th>Windows<br>NT 3.1 </th>
-        <th>Windows<br>NT 3.51 </th>
-        <th>Windows<br>95 </th>
-      </tr>
-      <tbody>
-        <tr>
-          <td>1200</td>
-          <td>Unicode (BMP of ISO/IEC-10646)</td>
-          <td></td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>* </td>
-        </tr>
-        <tr>
-          <td>1250</td>
-          <td>Windows 3.1 Eastern European</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1251</td>
-          <td>Windows 3.1 Cyrillic</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1252</td>
-          <td>Windows 3.1 US (ANSI)</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1253</td>
-          <td>Windows 3.1 Greek</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1254</td>
-          <td>Windows 3.1 Turkish</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1255</td>
-          <td>Hebrew</td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1256</td>
-          <td>Arabic</td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1257</td>
-          <td>Baltic</td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1361</td>
-          <td>Korean (Johab)</td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>**</td>
-          <td>X </td>
-        </tr>
-      </tbody>
-      <tbody>
-        <tr>
-          <td>437</td>
-          <td>MS-DOS United States</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>708</td>
-          <td>Arabic (ASMO 708)</td>
-          <td></td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>709</td>
-          <td>Arabic (ASMO 449+, BCON V4)</td>
-          <td></td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>710</td>
-          <td>Arabic (Transparent Arabic)</td>
-          <td></td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>720</td>
-          <td>Arabic (Transparent ASMO)</td>
-          <td></td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>X</td>
-        </tr>
-      </tbody>
-    </thead>
-  </colgroup>
-</table>
diff --git a/t/html/table2-table_ld-default.gen b/t/html/table2-table_ld-default.gen
deleted file mode 100644 (file)
index 328a429..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-<table frame="hsides" rules="groups" border="2">
-  <caption>CODE-PAGE SUPPORT IN MICROSOFT WINDOWS</caption>
-  <colgroup align="center"></colgroup>
-  <colgroup align="left"></colgroup>
-  <colgroup align="center" span="2"></colgroup>
-  <colgroup align="center" span="3">
-    <thead valign="top">
-      <tr>
-        <th>Code-Page<br>ID </th>
-        <th>Name </th>
-        <th>ACP </th>
-        <th>OEMCP </th>
-        <th>Windows<br>NT 3.1 </th>
-        <th>Windows<br>NT 3.51 </th>
-        <th>Windows<br>95 </th>
-      </tr>
-      <tbody>
-        <tr>
-          <td>1200</td>
-          <td>Unicode (BMP of ISO/IEC-10646)</td>
-          <td></td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>* </td>
-        </tr>
-        <tr>
-          <td>1250</td>
-          <td>Windows 3.1 Eastern European</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1251</td>
-          <td>Windows 3.1 Cyrillic</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1252</td>
-          <td>Windows 3.1 US (ANSI)</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1253</td>
-          <td>Windows 3.1 Greek</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1254</td>
-          <td>Windows 3.1 Turkish</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1255</td>
-          <td>Hebrew</td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1256</td>
-          <td>Arabic</td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1257</td>
-          <td>Baltic</td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1361</td>
-          <td>Korean (Johab)</td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>**</td>
-          <td>X </td>
-        </tr>
-      </tbody>
-      <tbody>
-        <tr>
-          <td>437</td>
-          <td>MS-DOS United States</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>708</td>
-          <td>Arabic (ASMO 708)</td>
-          <td></td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>709</td>
-          <td>Arabic (ASMO 449+, BCON V4)</td>
-          <td></td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>710</td>
-          <td>Arabic (Transparent Arabic)</td>
-          <td></td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>720</td>
-          <td>Arabic (Transparent ASMO)</td>
-          <td></td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>X</td>
-        </tr>
-      </tbody>
-    </thead>
-  </colgroup>
-</table>
diff --git a/t/html/table2-table_ld-default.html b/t/html/table2-table_ld-default.html
deleted file mode 100644 (file)
index cffaba2..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-  <head>
-    <title>Complex HTML Table</title>
-  </head>
-
-  <body style="font-family: Arial, Helvetica, sans-serif" >
-    <h1>Complex HTML Table</h1>
-
-    <P>
-      This table comes from 
-      <a
-       href="http://www.w3.org/TR/REC-html40/struct/tables.html#h-11.5">
-       the w3 spec on tables
-      </a>. I am using it to try out the <code>table2()</code> API call
-      that is part of the new release of 
-      <a
-       href=http://search.cpan.org/search?query=Element%3A%3ALibrary&mode=all>
-       <code>HTML::Element::Library</code>
-      </a>.
-    </p>
-
-    
-    <P>
-
-    <TABLE border="2" frame="hsides" rules="groups">
-      <CAPTION>CODE-PAGE SUPPORT IN MICROSOFT WINDOWS</CAPTION>
-      <COLGROUP align="center">
-      <COLGROUP align="left">
-      <COLGROUP align="center" span="2">
-      <COLGROUP align="center" span="3">
-      <THEAD valign="top">
-       <TR>
-         <TH>Code-Page<BR>ID
-         <TH>Name
-         <TH>ACP
-         <TH>OEMCP
-         <TH>Windows<BR>NT 3.1
-         <TH>Windows<BR>NT 3.51
-         <TH>Windows<BR>95
-         </th>
-       </tr>
-      <TBODY>
-       <TR><TD>1200<TD>Unicode (BMP of ISO/IEC-10646)<TD><TD><TD>X<TD>X<TD>*
-       <TR><TD>1250<TD>Windows 3.1 Eastern European<TD>X<TD><TD>X<TD>X<TD>X
-       <TR><TD>1251<TD>Windows 3.1 Cyrillic<TD>X<TD><TD>X<TD>X<TD>X
-       <TR><TD>1252<TD>Windows 3.1 US (ANSI)<TD>X<TD><TD>X<TD>X<TD>X
-       <TR><TD>1253<TD>Windows 3.1 Greek<TD>X<TD><TD>X<TD>X<TD>X
-       <TR><TD>1254<TD>Windows 3.1 Turkish<TD>X<TD><TD>X<TD>X<TD>X
-       <TR><TD>1255<TD>Hebrew<TD>X<TD><TD><TD><TD>X
-       <TR><TD>1256<TD>Arabic<TD>X<TD><TD><TD><TD>X
-       <TR><TD>1257<TD>Baltic<TD>X<TD><TD><TD><TD>X
-       <TR><TD>1361<TD>Korean (Johab)<TD>X<TD><TD><TD>**<TD>X
-         </td>
-       </tr>
-      </tbody>
-      <TBODY>
-       <TR><TD>437<TD>MS-DOS United States<TD><TD>X<TD>X<TD>X<TD>X
-       <TR><TD>708<TD>Arabic (ASMO 708)<TD><TD>X<TD><TD><TD>X
-       <TR><TD>709<TD>Arabic (ASMO 449+, BCON V4)<TD><TD>X<TD><TD><TD>X
-       <TR><TD>710<TD>Arabic (Transparent Arabic)<TD><TD>X<TD><TD><TD>X
-       <TR><TD>720<TD>Arabic (Transparent ASMO)<TD><TD>X<TD><TD><TD>X</td>
-       </tr>
-      </tbody>
-
-    </TABLE>
-
-
-
-
-    <hr>
-    <address><a href="mailto:metaperl@gmail.com">metaperl</a></address>
-<!-- Created: Fri Nov 25 08:48:48 PST 2005 -->
-<!-- hhmts start -->
-Last modified: Fri Nov 25 08:57:41 PST 2005
-<!-- hhmts end -->
-  </body>
-</html>
diff --git a/t/html/table2-table_ld.exp b/t/html/table2-table_ld.exp
new file mode 100644 (file)
index 0000000..51d727c
--- /dev/null
@@ -0,0 +1,158 @@
+<table frame="hsides" rules="groups" border="2">
+  <caption>CODE-PAGE SUPPORT IN MICROSOFT WINDOWS</caption>
+  <colgroup align="center"></colgroup>
+  <colgroup align="left"></colgroup>
+  <colgroup align="center" span="2"></colgroup>
+  <colgroup align="center" span="3">
+    <thead valign="top">
+      <tr>
+        <th>Code-Page<br/>ID </th>
+        <th>Name </th>
+        <th>ACP </th>
+        <th>OEMCP </th>
+        <th>Windows<br/>NT 3.1 </th>
+        <th>Windows<br/>NT 3.51 </th>
+        <th>Windows<br/>95 </th>
+      </tr>
+      <tbody>
+        <tr>
+          <td>1200</td>
+          <td>Unicode (BMP of ISO/IEC-10646)</td>
+          <td></td>
+          <td></td>
+          <td>X</td>
+          <td>X</td>
+          <td>* </td>
+        </tr>
+        <tr>
+          <td>1250</td>
+          <td>Windows 3.1 Eastern European</td>
+          <td>X</td>
+          <td></td>
+          <td>X</td>
+          <td>X</td>
+          <td>X </td>
+        </tr>
+        <tr>
+          <td>1251</td>
+          <td>Windows 3.1 Cyrillic</td>
+          <td>X</td>
+          <td></td>
+          <td>X</td>
+          <td>X</td>
+          <td>X </td>
+        </tr>
+        <tr>
+          <td>1252</td>
+          <td>Windows 3.1 US (ANSI)</td>
+          <td>X</td>
+          <td></td>
+          <td>X</td>
+          <td>X</td>
+          <td>X </td>
+        </tr>
+        <tr>
+          <td>1253</td>
+          <td>Windows 3.1 Greek</td>
+          <td>X</td>
+          <td></td>
+          <td>X</td>
+          <td>X</td>
+          <td>X </td>
+        </tr>
+        <tr>
+          <td>1254</td>
+          <td>Windows 3.1 Turkish</td>
+          <td>X</td>
+          <td></td>
+          <td>X</td>
+          <td>X</td>
+          <td>X </td>
+        </tr>
+        <tr>
+          <td>1255</td>
+          <td>Hebrew</td>
+          <td>X</td>
+          <td></td>
+          <td></td>
+          <td></td>
+          <td>X </td>
+        </tr>
+        <tr>
+          <td>1256</td>
+          <td>Arabic</td>
+          <td>X</td>
+          <td></td>
+          <td></td>
+          <td></td>
+          <td>X </td>
+        </tr>
+        <tr>
+          <td>1257</td>
+          <td>Baltic</td>
+          <td>X</td>
+          <td></td>
+          <td></td>
+          <td></td>
+          <td>X </td>
+        </tr>
+        <tr>
+          <td>1361</td>
+          <td>Korean (Johab)</td>
+          <td>X</td>
+          <td></td>
+          <td></td>
+          <td>**</td>
+          <td>X </td>
+        </tr>
+      </tbody>
+      <tbody>
+        <tr>
+          <td>437</td>
+          <td>MS-DOS United States</td>
+          <td></td>
+          <td>X</td>
+          <td>X</td>
+          <td>X</td>
+          <td>X </td>
+        </tr>
+        <tr>
+          <td>708</td>
+          <td>Arabic (ASMO 708)</td>
+          <td></td>
+          <td>X</td>
+          <td></td>
+          <td></td>
+          <td>X </td>
+        </tr>
+        <tr>
+          <td>709</td>
+          <td>Arabic (ASMO 449+, BCON V4)</td>
+          <td></td>
+          <td>X</td>
+          <td></td>
+          <td></td>
+          <td>X </td>
+        </tr>
+        <tr>
+          <td>710</td>
+          <td>Arabic (Transparent Arabic)</td>
+          <td></td>
+          <td>X</td>
+          <td></td>
+          <td></td>
+          <td>X </td>
+        </tr>
+        <tr>
+          <td>720</td>
+          <td>Arabic (Transparent ASMO)</td>
+          <td></td>
+          <td>X</td>
+          <td></td>
+          <td></td>
+          <td>X</td>
+        </tr>
+      </tbody>
+    </thead>
+  </colgroup>
+</table>
diff --git a/t/html/table2-tr_ld-arrayref.gen b/t/html/table2-tr_ld-arrayref.gen
deleted file mode 100644 (file)
index 0b96ad5..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<tr class="findMe">
-  <td>437</td>
-  <td>MS-DOS United States</td>
-  <td></td>
-  <td>X</td>
-  <td>X</td>
-  <td>X</td>
-  <td>X </td>
-</tr>
index 19e0c513b666461b66ea4a4d33c38681e027027e..5784ee6df1fcac30861e16230f9c86395780fe4e 100644 (file)
     
     <P>
 
-    <TABLE border="2" frame="hsides" rules="groups"
-      summary="Code page support in different versions
-      of MS Windows.">
+    <TABLE border="2" frame="hsides" rules="groups">
       <CAPTION>CODE-PAGE SUPPORT IN MICROSOFT WINDOWS</CAPTION>
-      <COLGROUP align="center">
-      <COLGROUP align="left">
-      <COLGROUP align="center" span="2">
-      <COLGROUP align="center" span="3">
+      <COLGROUP align="center"/>
+      <COLGROUP align="left"/>
+      <COLGROUP align="center" span="2"/>
+      <COLGROUP align="center" span="3"/>
       <THEAD valign="top">
        <TR>
-         <TH>Code-Page<BR>ID
-         <TH>Name
-         <TH>ACP
-         <TH>OEMCP
-         <TH>Windows<BR>NT 3.1
-         <TH>Windows<BR>NT 3.51
-         <TH>Windows<BR>95
-         </th>
-       </tr>
+         <TH>Code-Page<BR/>ID</TH>
+         <TH>Name</TH>
+         <TH>ACP</TH>
+         <TH>OEMCP</TH>
+         <TH>Windows<BR/>NT 3.1</TH>
+         <TH>Windows<BR/>NT 3.51</TH>
+         <TH>Windows<BR/>95</TH>
+       </TR>
       <TBODY>
-       <TR><TD>1200<TD>Unicode (BMP of ISO/IEC-10646)<TD><TD><TD>X<TD>X<TD>*
-       <TR><TD>1250<TD>Windows 3.1 Eastern European<TD>X<TD><TD>X<TD>X<TD>X
-       <TR><TD>1251<TD>Windows 3.1 Cyrillic<TD>X<TD><TD>X<TD>X<TD>X
-       <TR><TD>1252<TD>Windows 3.1 US (ANSI)<TD>X<TD><TD>X<TD>X<TD>X
-       <TR><TD>1253<TD>Windows 3.1 Greek<TD>X<TD><TD>X<TD>X<TD>X
-       <TR><TD>1254<TD>Windows 3.1 Turkish<TD>X<TD><TD>X<TD>X<TD>X
-       <TR><TD>1255<TD>Hebrew<TD>X<TD><TD><TD><TD>X
-       <TR><TD>1256<TD>Arabic<TD>X<TD><TD><TD><TD>X
-       <TR><TD>1257<TD>Baltic<TD>X<TD><TD><TD><TD>X
-       <TR><TD>1361<TD>Korean (Johab)<TD>X<TD><TD><TD>**<TD>X
+       <TR><TD>1200</TD><TD>Unicode (BMP of ISO/IEC-10646)</TD><TD></TD><TD></TD><TD>X</TD><TD>X</TD><TD>*</TD>
+       <TR><TD>1250</TD><TD>Windows 3.1 Eastern European</TD><TD>X</TD><TD></TD><TD>X</TD><TD>X</TD><TD>X
+       <TR><TD>1251</TD><TD>Windows 3.1 Cyrillic</TD><TD>X</TD><TD></TD><TD>X</TD><TD>X</TD><TD>X
+       <TR><TD>1252</TD><TD>Windows 3.1 US (ANSI)</TD><TD>X</TD><TD></TD><TD>X</TD><TD>X</TD><TD>X
+       <TR><TD>1253</TD><TD>Windows 3.1 Greek</TD><TD>X</TD><TD></TD><TD>X</TD><TD>X</TD><TD>X
+       <TR><TD>1254</TD><TD>Windows 3.1 Turkish</TD><TD>X</TD><TD></TD><TD>X</TD><TD>X</TD><TD>X
+       <TR><TD>1255</TD><TD>Hebrew</TD><TD>X</TD><TD></TD><TD></TD><TD></TD><TD>X
+       <TR><TD>1256</TD><TD>Arabic</TD><TD>X</TD><TD></TD><TD></TD><TD></TD><TD>X
+       <TR><TD>1257</TD><TD>Baltic</TD><TD>X</TD><TD></TD><TD></TD><TD></TD><TD>X
+       <TR><TD>1361</TD><TD>Korean (Johab)</TD><TD>X</TD><TD></TD><TD></TD><TD>**</TD><TD>X
          </td>
        </tr>
       </tbody>
       <TBODY>
-       <TR class="findMe"><TD>437<TD>MS-DOS United States<TD><TD>X<TD>X<TD>X<TD>X
-       <TR><TD>708<TD>Arabic (ASMO 708)<TD><TD>X<TD><TD><TD>X
-       <TR><TD>709<TD>Arabic (ASMO 449+, BCON V4)<TD><TD>X<TD><TD><TD>X
-       <TR><TD>710<TD>Arabic (Transparent Arabic)<TD><TD>X<TD><TD><TD>X
-       <TR><TD>720<TD>Arabic (Transparent ASMO)<TD><TD>X<TD><TD><TD>X</td>
+       <TR class="findMe"><TD>437</TD><TD>MS-DOS United States</TD><TD></TD><TD>X</TD><TD>X</TD><TD>X</TD><TD>X
+       <TR><TD>708</TD><TD>Arabic (ASMO 708)</TD><TD></TD><TD>X</TD><TD></TD><TD></TD><TD>X
+       <TR><TD>709</TD><TD>Arabic (ASMO 449+, BCON V4)</TD><TD></TD><TD>X</TD><TD></TD><TD></TD><TD>X
+       <TR><TD>710</TD><TD>Arabic (Transparent Arabic)</TD><TD></TD><TD>X</TD><TD></TD><TD></TD><TD>X
+       <TR><TD>720</TD><TD>Arabic (Transparent ASMO)</TD><TD></TD><TD>X</TD><TD></TD><TD></TD><TD>X</td>
        </tr>
       </tbody>
 
@@ -74,7 +71,7 @@
     <address><a href="mailto:metaperl@gmail.com">metaperl</a></address>
 <!-- Created: Fri Nov 25 08:48:48 PST 2005 -->
 <!-- hhmts start -->
-Last modified: Fri Nov 25 19:38:43 PST 2005
+Last modified: Fri Nov 25 08:57:41 PST 2005
 <!-- hhmts end -->
   </body>
 </html>
index 81399d8ee50f31b027e18859a1583f6718c9a5d6..6d1640a932ba0286a469a8817beaf1d9f8a1aa5c 100644 (file)
         <colgroup align="center" span="3">
           <thead valign="top">
             <tr>
-              <th>Code-Page<br>ID </th>
+              <th>Code-Page<br/>ID </th>
               <th>Name </th>
               <th>ACP </th>
               <th>OEMCP </th>
-              <th>Windows<br>NT 3.1 </th>
-              <th>Windows<br>NT 3.51 </th>
-              <th>Windows<br>95 </th>
+              <th>Windows<br/>NT 3.1 </th>
+              <th>Windows<br/>NT 3.51 </th>
+              <th>Windows<br/>95 </th>
             </tr>
             <tbody>
               <tr>
           </thead>
         </colgroup>
       </table>
-      <hr>
+      <hr/>
       <address><a href="mailto:metaperl@gmail.com">metaperl</a></address>
       Last modified: Fri Nov 25 08:57:41 PST 2005 </p>
   </body>
diff --git a/t/html/table2-tr_ld-coderef.gen b/t/html/table2-tr_ld-coderef.gen
deleted file mode 100644 (file)
index 81399d8..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-<html>
-  <head>
-    <title>Complex HTML Table</title>
-  </head>
-  <body style="font-family: Arial, Helvetica, sans-serif">
-    <h1>Complex HTML Table</h1>
-    <p> This table comes from <a
-        href="http://www.w3.org/TR/REC-html40/struct/tables.html#h-11.5"> the
-        w3 spec on tables </a>. I am using it to try out the
-      <code>table2()</code> API call that is part of the new release of <a
-        href="http://search.cpan.org/search?query=Element%3A%3ALibrary&amp;mode=all">
-        <code>HTML::Element::Library</code> </a>. </p>
-    <p>
-      <table frame="hsides" rules="groups" border="2">
-        <caption>CODE-PAGE SUPPORT IN MICROSOFT WINDOWS</caption>
-        <colgroup align="center"></colgroup>
-        <colgroup align="left"></colgroup>
-        <colgroup align="center" span="2"></colgroup>
-        <colgroup align="center" span="3">
-          <thead valign="top">
-            <tr>
-              <th>Code-Page<br>ID </th>
-              <th>Name </th>
-              <th>ACP </th>
-              <th>OEMCP </th>
-              <th>Windows<br>NT 3.1 </th>
-              <th>Windows<br>NT 3.51 </th>
-              <th>Windows<br>95 </th>
-            </tr>
-            <tbody>
-              <tr>
-                <td>1200</td>
-                <td>Unicode (BMP of ISO/IEC-10646)</td>
-                <td></td>
-                <td></td>
-                <td>X</td>
-                <td>X</td>
-                <td>* </td>
-              </tr>
-              <tr>
-                <td>1255</td>
-                <td>Hebrew</td>
-                <td>X</td>
-                <td></td>
-                <td></td>
-                <td></td>
-                <td>X </td>
-              </tr>
-              <tr>
-                <td>1256</td>
-                <td>Arabic</td>
-                <td>X</td>
-                <td></td>
-                <td></td>
-                <td></td>
-                <td>X </td>
-              </tr>
-              <tr>
-                <td>1257</td>
-                <td>Baltic</td>
-                <td>X</td>
-                <td></td>
-                <td></td>
-                <td></td>
-                <td>X </td>
-              </tr>
-              <tr>
-                <td>1361</td>
-                <td>Korean (Johab)</td>
-                <td>X</td>
-                <td></td>
-                <td></td>
-                <td>**</td>
-                <td>X </td>
-              </tr>
-            </tbody>
-            <tbody>
-              <tr>
-                <td>437</td>
-                <td>MS-DOS United States</td>
-                <td></td>
-                <td>X</td>
-                <td>X</td>
-                <td>X</td>
-                <td>X </td>
-              </tr>
-              <tr>
-                <td>708</td>
-                <td>Arabic (ASMO 708)</td>
-                <td></td>
-                <td>X</td>
-                <td></td>
-                <td></td>
-                <td>X </td>
-              </tr>
-              <tr>
-                <td>709</td>
-                <td>Arabic (ASMO 449+, BCON V4)</td>
-                <td></td>
-                <td>X</td>
-                <td></td>
-                <td></td>
-                <td>X </td>
-              </tr>
-              <tr>
-                <td>710</td>
-                <td>Arabic (Transparent Arabic)</td>
-                <td></td>
-                <td>X</td>
-                <td></td>
-                <td></td>
-                <td>X </td>
-              </tr>
-              <tr>
-                <td>720</td>
-                <td>Arabic (Transparent ASMO)</td>
-                <td></td>
-                <td>X</td>
-                <td></td>
-                <td></td>
-                <td>X</td>
-              </tr>
-            </tbody>
-          </thead>
-        </colgroup>
-      </table>
-      <hr>
-      <address><a href="mailto:metaperl@gmail.com">metaperl</a></address>
-      Last modified: Fri Nov 25 08:57:41 PST 2005 </p>
-  </body>
-</html>
diff --git a/t/html/table2-tr_ld-default.gen b/t/html/table2-tr_ld-default.gen
deleted file mode 100644 (file)
index ed2919a..0000000
+++ /dev/null
@@ -1,160 +0,0 @@
-<table summary="Code page support in different versions
-      of MS Windows."
-  frame="hsides" rules="groups" border="2">
-  <caption>CODE-PAGE SUPPORT IN MICROSOFT WINDOWS</caption>
-  <colgroup align="center"></colgroup>
-  <colgroup align="left"></colgroup>
-  <colgroup align="center" span="2"></colgroup>
-  <colgroup align="center" span="3">
-    <thead valign="top">
-      <tr>
-        <th>Code-Page<br>ID </th>
-        <th>Name </th>
-        <th>ACP </th>
-        <th>OEMCP </th>
-        <th>Windows<br>NT 3.1 </th>
-        <th>Windows<br>NT 3.51 </th>
-        <th>Windows<br>95 </th>
-      </tr>
-      <tbody>
-        <tr>
-          <td>1200</td>
-          <td>Unicode (BMP of ISO/IEC-10646)</td>
-          <td></td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>* </td>
-        </tr>
-        <tr>
-          <td>1250</td>
-          <td>Windows 3.1 Eastern European</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1251</td>
-          <td>Windows 3.1 Cyrillic</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1252</td>
-          <td>Windows 3.1 US (ANSI)</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1253</td>
-          <td>Windows 3.1 Greek</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1254</td>
-          <td>Windows 3.1 Turkish</td>
-          <td>X</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1255</td>
-          <td>Hebrew</td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1256</td>
-          <td>Arabic</td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1257</td>
-          <td>Baltic</td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>1361</td>
-          <td>Korean (Johab)</td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>**</td>
-          <td>X </td>
-        </tr>
-      </tbody>
-      <tbody>
-        <tr>
-          <td>437</td>
-          <td>MS-DOS United States</td>
-          <td></td>
-          <td>X</td>
-          <td>X</td>
-          <td>X</td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>708</td>
-          <td>Arabic (ASMO 708)</td>
-          <td></td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>709</td>
-          <td>Arabic (ASMO 449+, BCON V4)</td>
-          <td></td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>710</td>
-          <td>Arabic (Transparent Arabic)</td>
-          <td></td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>X </td>
-        </tr>
-        <tr>
-          <td>720</td>
-          <td>Arabic (Transparent ASMO)</td>
-          <td></td>
-          <td>X</td>
-          <td></td>
-          <td></td>
-          <td>X</td>
-        </tr>
-      </tbody>
-    </thead>
-  </colgroup>
-</table>
index db2e10bd5d0147465c800dd118b2aa49dfd150c1..816c4bbc38bcc4ee8c30b08a8b0e0c0bc38c9cbc 100644 (file)
         <colgroup align="center" span="3">
           <thead valign="top">
             <tr>
-              <th>Code-Page<br>ID </th>
+              <th>Code-Page<br/>ID </th>
               <th>Name </th>
               <th>ACP </th>
               <th>OEMCP </th>
-              <th>Windows<br>NT 3.1 </th>
-              <th>Windows<br>NT 3.51 </th>
-              <th>Windows<br>95 </th>
+              <th>Windows<br/>NT 3.1 </th>
+              <th>Windows<br/>NT 3.51 </th>
+              <th>Windows<br/>95 </th>
             </tr>
             <tbody>
               <tr>
           </thead>
         </colgroup>
       </table>
-      <hr>
+      <hr/>
       <address><a href="mailto:metaperl@gmail.com">metaperl</a></address>
       Last modified: Fri Nov 25 08:57:41 PST 2005 </p>
   </body>
diff --git a/t/html/table2.gen b/t/html/table2.gen
deleted file mode 100644 (file)
index db2e10b..0000000
+++ /dev/null
@@ -1,176 +0,0 @@
-<html>
-  <head>
-    <title>Complex HTML Table</title>
-  </head>
-  <body style="font-family: Arial, Helvetica, sans-serif">
-    <h1>Complex HTML Table</h1>
-    <p> This table comes from <a
-        href="http://www.w3.org/TR/REC-html40/struct/tables.html#h-11.5"> the
-        w3 spec on tables </a>. I am using it to try out the
-      <code>table2()</code> API call that is part of the new release of <a
-        href="http://search.cpan.org/search?query=Element%3A%3ALibrary&amp;mode=all">
-        <code>HTML::Element::Library</code> </a>. </p>
-    <p>
-      <table frame="hsides" rules="groups" border="2">
-        <caption>CODE-PAGE SUPPORT IN MICROSOFT WINDOWS</caption>
-        <colgroup align="center"></colgroup>
-        <colgroup align="left"></colgroup>
-        <colgroup align="center" span="2"></colgroup>
-        <colgroup align="center" span="3">
-          <thead valign="top">
-            <tr>
-              <th>Code-Page<br>ID </th>
-              <th>Name </th>
-              <th>ACP </th>
-              <th>OEMCP </th>
-              <th>Windows<br>NT 3.1 </th>
-              <th>Windows<br>NT 3.51 </th>
-              <th>Windows<br>95 </th>
-            </tr>
-            <tbody>
-              <tr>
-                <td>1200</td>
-                <td>Unicode (BMP of ISO 10646)</td>
-                <td>0</td>
-                <td>0</td>
-                <td>1</td>
-                <td>1</td>
-                <td>2</td>
-              </tr>
-              <tr>
-                <td>1250</td>
-                <td>Windows 3.1 Eastern European</td>
-                <td>1</td>
-                <td>0</td>
-                <td>1</td>
-                <td>1</td>
-                <td>1</td>
-              </tr>
-              <tr>
-                <td>1251</td>
-                <td>Windows 3.1 Cyrillic</td>
-                <td>1</td>
-                <td>0</td>
-                <td>1</td>
-                <td>1</td>
-                <td>1</td>
-              </tr>
-              <tr>
-                <td>1252</td>
-                <td>Windows 3.1 US (ANSI)</td>
-                <td>1</td>
-                <td>0</td>
-                <td>1</td>
-                <td>1</td>
-                <td>1</td>
-              </tr>
-              <tr>
-                <td>1253</td>
-                <td>Windows 3.1 Greek</td>
-                <td>1</td>
-                <td>0</td>
-                <td>1</td>
-                <td>1</td>
-                <td>1</td>
-              </tr>
-              <tr>
-                <td>1254</td>
-                <td>Windows 3.1 Turkish</td>
-                <td>1</td>
-                <td>0</td>
-                <td>1</td>
-                <td>1</td>
-                <td>1</td>
-              </tr>
-              <tr>
-                <td>1255</td>
-                <td>Hebrew</td>
-                <td>1</td>
-                <td>0</td>
-                <td>0</td>
-                <td>0</td>
-                <td>1</td>
-              </tr>
-              <tr>
-                <td>1256</td>
-                <td>Arabic</td>
-                <td>1</td>
-                <td>0</td>
-                <td>0</td>
-                <td>0</td>
-                <td>1</td>
-              </tr>
-              <tr>
-                <td>1257</td>
-                <td>Baltic</td>
-                <td>1</td>
-                <td>0</td>
-                <td>0</td>
-                <td>0</td>
-                <td>1</td>
-              </tr>
-              <tr>
-                <td>1361</td>
-                <td>Korean (Johab)</td>
-                <td>1</td>
-                <td>0</td>
-                <td>0</td>
-                <td>3</td>
-                <td>1</td>
-              </tr>
-            </tbody>
-            <tbody>
-              <tr>
-                <td>437</td>
-                <td>MS-DOS</td>
-                <td>United States</td>
-                <td>0</td>
-                <td>1</td>
-                <td>1</td>
-                <td>1</td>
-              </tr>
-              <tr>
-                <td>708</td>
-                <td>Arabic (ASMO 708)</td>
-                <td>0</td>
-                <td>1</td>
-                <td>0</td>
-                <td>0</td>
-                <td>1</td>
-              </tr>
-              <tr>
-                <td>709</td>
-                <td>Arabic (ASMO 449+ BCON V4)</td>
-                <td>0</td>
-                <td>1</td>
-                <td>0</td>
-                <td>0</td>
-                <td>1</td>
-              </tr>
-              <tr>
-                <td>710</td>
-                <td>Arabic (Transparent Arabic)</td>
-                <td>0</td>
-                <td>1</td>
-                <td>0</td>
-                <td>0</td>
-                <td>1</td>
-              </tr>
-              <tr>
-                <td>720</td>
-                <td>Arabic (Transparent ASMO)</td>
-                <td>0</td>
-                <td>1</td>
-                <td>0</td>
-                <td>0</td>
-                <td>1</td>
-              </tr>
-            </tbody>
-          </thead>
-        </colgroup>
-      </table>
-      <hr>
-      <address><a href="mailto:metaperl@gmail.com">metaperl</a></address>
-      Last modified: Fri Nov 25 08:57:41 PST 2005 </p>
-  </body>
-</html>
index cffaba2997ad817681682735efd6cbee92b90b4e..77c5ff853046ba1f63b57d86561f68db3d6ff9ab 100644 (file)
 
     <TABLE border="2" frame="hsides" rules="groups">
       <CAPTION>CODE-PAGE SUPPORT IN MICROSOFT WINDOWS</CAPTION>
-      <COLGROUP align="center">
-      <COLGROUP align="left">
-      <COLGROUP align="center" span="2">
-      <COLGROUP align="center" span="3">
+      <COLGROUP align="center"/>
+      <COLGROUP align="left"/>
+      <COLGROUP align="center" span="2"/>
+      <COLGROUP align="center" span="3"/>
       <THEAD valign="top">
        <TR>
-         <TH>Code-Page<BR>ID
-         <TH>Name
-         <TH>ACP
-         <TH>OEMCP
-         <TH>Windows<BR>NT 3.1
-         <TH>Windows<BR>NT 3.51
-         <TH>Windows<BR>95
-         </th>
-       </tr>
+         <TH>Code-Page<BR/>ID</TH>
+         <TH>Name</TH>
+         <TH>ACP</TH>
+         <TH>OEMCP</TH>
+         <TH>Windows<BR/>NT 3.1</TH>
+         <TH>Windows<BR/>NT 3.51</TH>
+         <TH>Windows<BR/>95</TH>
+       </TR>
       <TBODY>
-       <TR><TD>1200<TD>Unicode (BMP of ISO/IEC-10646)<TD><TD><TD>X<TD>X<TD>*
-       <TR><TD>1250<TD>Windows 3.1 Eastern European<TD>X<TD><TD>X<TD>X<TD>X
-       <TR><TD>1251<TD>Windows 3.1 Cyrillic<TD>X<TD><TD>X<TD>X<TD>X
-       <TR><TD>1252<TD>Windows 3.1 US (ANSI)<TD>X<TD><TD>X<TD>X<TD>X
-       <TR><TD>1253<TD>Windows 3.1 Greek<TD>X<TD><TD>X<TD>X<TD>X
-       <TR><TD>1254<TD>Windows 3.1 Turkish<TD>X<TD><TD>X<TD>X<TD>X
-       <TR><TD>1255<TD>Hebrew<TD>X<TD><TD><TD><TD>X
-       <TR><TD>1256<TD>Arabic<TD>X<TD><TD><TD><TD>X
-       <TR><TD>1257<TD>Baltic<TD>X<TD><TD><TD><TD>X
-       <TR><TD>1361<TD>Korean (Johab)<TD>X<TD><TD><TD>**<TD>X
+       <TR><TD>1200</TD><TD>Unicode (BMP of ISO/IEC-10646)</TD><TD></TD><TD></TD><TD>X</TD><TD>X</TD><TD>*</TD>
+       <TR><TD>1250</TD><TD>Windows 3.1 Eastern European</TD><TD>X</TD><TD></TD><TD>X</TD><TD>X</TD><TD>X
+       <TR><TD>1251</TD><TD>Windows 3.1 Cyrillic</TD><TD>X</TD><TD></TD><TD>X</TD><TD>X</TD><TD>X
+       <TR><TD>1252</TD><TD>Windows 3.1 US (ANSI)</TD><TD>X</TD><TD></TD><TD>X</TD><TD>X</TD><TD>X
+       <TR><TD>1253</TD><TD>Windows 3.1 Greek</TD><TD>X</TD><TD></TD><TD>X</TD><TD>X</TD><TD>X
+       <TR><TD>1254</TD><TD>Windows 3.1 Turkish</TD><TD>X</TD><TD></TD><TD>X</TD><TD>X</TD><TD>X
+       <TR><TD>1255</TD><TD>Hebrew</TD><TD>X</TD><TD></TD><TD></TD><TD></TD><TD>X
+       <TR><TD>1256</TD><TD>Arabic</TD><TD>X</TD><TD></TD><TD></TD><TD></TD><TD>X
+       <TR><TD>1257</TD><TD>Baltic</TD><TD>X</TD><TD></TD><TD></TD><TD></TD><TD>X
+       <TR><TD>1361</TD><TD>Korean (Johab)</TD><TD>X</TD><TD></TD><TD></TD><TD>**</TD><TD>X
          </td>
        </tr>
       </tbody>
       <TBODY>
-       <TR><TD>437<TD>MS-DOS United States<TD><TD>X<TD>X<TD>X<TD>X
-       <TR><TD>708<TD>Arabic (ASMO 708)<TD><TD>X<TD><TD><TD>X
-       <TR><TD>709<TD>Arabic (ASMO 449+, BCON V4)<TD><TD>X<TD><TD><TD>X
-       <TR><TD>710<TD>Arabic (Transparent Arabic)<TD><TD>X<TD><TD><TD>X
-       <TR><TD>720<TD>Arabic (Transparent ASMO)<TD><TD>X<TD><TD><TD>X</td>
+       <TR><TD>437</TD><TD>MS-DOS United States</TD><TD></TD><TD>X</TD><TD>X</TD><TD>X</TD><TD>X
+       <TR><TD>708</TD><TD>Arabic (ASMO 708)</TD><TD></TD><TD>X</TD><TD></TD><TD></TD><TD>X
+       <TR><TD>709</TD><TD>Arabic (ASMO 449+, BCON V4)</TD><TD></TD><TD>X</TD><TD></TD><TD></TD><TD>X
+       <TR><TD>710</TD><TD>Arabic (Transparent Arabic)</TD><TD></TD><TD>X</TD><TD></TD><TD></TD><TD>X
+       <TR><TD>720</TD><TD>Arabic (Transparent ASMO)</TD><TD></TD><TD>X</TD><TD></TD><TD></TD><TD>X</td>
        </tr>
       </tbody>
 
index f6a977ead9129a0b46c274ec534ab2492d8adeca..521644d91ceb5a66372b66a7de0effd9eeedc7a2 100644 (file)
@@ -5,18 +5,18 @@
   <body>
     <h3>signup</h3>
     <form action="ladder.cgi" method="POST">
-      <input value="signup_welcome" name="rm" type="hidden">
+      <input value="signup_welcome" name="rm" type="hidden"/>
       <table>
         <tr>
           <td>Screen Name</td>
           <td>
-            <input name="screen_name" type="text">
+            <input name="screen_name" type="text"/>
           </td>
         </tr>
         <tr>
           <td>Login Name (use this to login next time)</td>
           <td>
-            <input name="login_name" type="text">
+            <input name="login_name" type="text"/>
           </td>
         </tr>
         <tr>
         <tr>
           <td>Password (<b>Don't choose one you use elsewhere.)</b></td>
           <td>
-            <input name="password" type="password">
+            <input name="password" type="password"/>
           </td>
         </tr>
         <tr>
           <td>Password (Again)</td>
           <td>
-            <input name="password_again" type="password">
+            <input name="password_again" type="password"/>
           </td>
         </tr>
         <tr>
           <td>Email</td>
           <td>
-            <input name="email" type="text">
+            <input name="email" type="text"/>
           </td>
         </tr>
       </table>
-      <input type="submit">
+      <input type="submit"/>
     </form>
   </body>
 </html>
diff --git a/t/html/unroll_select.gen b/t/html/unroll_select.gen
deleted file mode 100644 (file)
index f6a977e..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-<html>
-  <head>
-    <title>ctf gimble challenge ladder - signup</title>
-  </head>
-  <body>
-    <h3>signup</h3>
-    <form action="ladder.cgi" method="POST">
-      <input value="signup_welcome" name="rm" type="hidden">
-      <table>
-        <tr>
-          <td>Screen Name</td>
-          <td>
-            <input name="screen_name" type="text">
-          </td>
-        </tr>
-        <tr>
-          <td>Login Name (use this to login next time)</td>
-          <td>
-            <input name="login_name" type="text">
-          </td>
-        </tr>
-        <tr>
-          <td>Clan Name</td>
-          <td>
-            <select name="name" id="clan_list">
-              <option value="12" selected="1">janglers</option>
-              <option value="14">thugknights</option>
-              <option value="13">cavaliers</option>
-            </select>
-          </td>
-        </tr>
-        <tr>
-          <td>Password (<b>Don't choose one you use elsewhere.)</b></td>
-          <td>
-            <input name="password" type="password">
-          </td>
-        </tr>
-        <tr>
-          <td>Password (Again)</td>
-          <td>
-            <input name="password_again" type="password">
-          </td>
-        </tr>
-        <tr>
-          <td>Email</td>
-          <td>
-            <input name="email" type="text">
-          </td>
-        </tr>
-      </table>
-      <input type="submit">
-    </form>
-  </body>
-</html>
index e9ac45c03afbc298e3f7eaf804c6e0a0e7334c30..eeb0a631024c4e43da1371fb5fa1e79c6b2695cb 100644 (file)
 <form action=ladder.cgi
       method=POST>
 
-<input type=hidden name=rm value=signup_welcome>
+<input type=hidden name=rm value=signup_welcome />
 
 <table>
 
 <tr>
 <td>Screen Name</td> 
-<td><input type=text name=screen_name></td>
+<td><input type=text name=screen_name /></td>
 </tr>
 
 <tr>
 <td>Login Name (use this to login next time)</td> 
-<td><input type=text name=login_name></td>
+<td><input type=text name=login_name /></td>
 </tr>
 
 <tr>
 </tr>
 
 <tr><td>Password (<b>Don't choose one you use elsewhere.)</b></td> 
-<td><input type=password name=password></td>
+<td><input type=password name=password /></td>
 </tr>
 
 <tr>
 <td>Password (Again)</td> 
-<td><input type=password name=password_again></td>
+<td><input type=password name=password_again /></td>
 </tr>
 
 <tr>
 <td>Email</td> 
-<td><input type=text name=email></td>
+<td><input type=text name=email /></td>
 </tr>
 
 </table>
 
-<input type=submit>
+<input type=submit />
 
 </form>
 </body>
-</html>
\ No newline at end of file
+</html>
index fe064e0138abaa8ff949d21bc7327bb1ee2f266c..182abd10020f9c6b9dad3537851471006d32290f 100644 (file)
--- a/t/iter.t
+++ b/t/iter.t
@@ -1,14 +1,12 @@
 # This might look like shell script, but it's actually -*- perl -*-
 use strict;
-use lib qw(t/ t/m/);
-
 
 use File::Slurp;
 use Test::More qw(no_plan);
 
-use TestUtils;
 use HTML::TreeBuilder;
 use HTML::Element::Library;
+use Test::XML;
 
 my $root = 't/html/iter';
 
@@ -20,7 +18,6 @@ my @items = qw(bread butter vodka);
 
 $tree->iter($li, @items);
 
-  my $generated_html = ptree($tree, "$root.gen");
 
-  is ($generated_html, File::Slurp::read_file("$root.exp"), 
+is_xml ($tree->as_XML, scalar File::Slurp::read_file("$root.exp"), 
       "HTML for generated li");
index 1a7950107e97c10e137a4ca6ebb1083366346c23..8f3f31209ff2d537db5137c06f26dce64140a134 100644 (file)
--- a/t/iter2.t
+++ b/t/iter2.t
@@ -1,14 +1,12 @@
 # This might look like shell script, but it's actually -*- perl -*-
 use strict;
-use lib qw(t/ t/m/);
-
 
 use File::Slurp;
 use Test::More qw(no_plan);
 
-use TestUtils;
 use HTML::TreeBuilder;
 use HTML::Element::Library;
+use Test::XML;
 
 my $root = 't/html/iter2';
 
@@ -42,7 +40,4 @@ $tree->iter2(
  );
   
 
-  my $generated_html = ptree($tree, "$root.gen");
-
-  is ($generated_html, File::Slurp::read_file("$root.exp"), 
-      "HTML for generated li");
+is_xml ($tree->as_XML, scalar File::Slurp::read_file("$root.exp"), "XML for generated li");
diff --git a/t/m/TestUtils.pm b/t/m/TestUtils.pm
deleted file mode 100644 (file)
index e5f2b69..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-package TestUtils;
-
-use HTML::PrettyPrinter;
-use FileHandle;
-use File::Slurp;
-
-use Carp qw(carp cluck croak confess);
-
-require Exporter;
-@ISA=qw(Exporter);
-@EXPORT = qw(ptree html_dir);
-
-sub html_dir {
-  't/html/'
-}
-
-sub ptree {
-  my $tree = shift or confess 'must supply tree';
-  my $out = shift or confess 'must supply outfile';
-  
-  my $hpp = HTML::PrettyPrinter->new
-    (tabify => 0, allow_forced_nl => 1, quote_attr => 1);
-  my $lines = $hpp->format($tree);
-  
-  write_file $out, @$lines;
-  join '', @$lines;
-}
-
-
-
-1;
index 2ba1b3571594ca4a6e20a13b4921b8fa01907944..09951ab7bbfa0ee41b3dd152d0cc43d577331e93 100644 (file)
@@ -1,13 +1,12 @@
 # This might look like shell script, but it's actually -*- perl -*-
 use strict;
-use lib qw(t/ t/m/);
 
 use File::Slurp;
 use Test::More qw(no_plan);
 
-use TestUtils;
 use HTML::TreeBuilder;
 use HTML::Element::Library;
+use Test::XML;
 
 sub replace_age { 
   my $branch = shift;
@@ -25,9 +24,7 @@ sub tage {
 
   my $root = "t/html/highlander2-passover";
 
-  my $generated_html = ptree($tree, "$root.gen");
-
-  is ($generated_html, File::Slurp::read_file("$root.exp"), "HTML for $age");
+  is_xml ($tree->as_XML, scalar File::Slurp::read_file("$root.exp"), "XML for $age");
 }
 
 
index 2880b48a54cbaa930366d936e0f4271c3809e3d8..9b840795926c9b41b9c69ccfed5feae41ec2d199 100644 (file)
@@ -6,9 +6,9 @@ use lib qw(t/ t/m/);
 use File::Slurp;
 use Test::More qw(no_plan);
 
-use TestUtils;
 use HTML::TreeBuilder;
 use HTML::Element::Library;
+use Test::XML;
 
 use SimpleClass;
 
@@ -50,7 +50,5 @@ $tree->table
  
    );
 
-  my $generated_html = ptree($tree, "$root.gen");
-
-  is ($generated_html, File::Slurp::read_file("$root.exp"), 
+  is_xml ($tree->as_XML, scalar File::Slurp::read_file("$root.exp"), 
       "HTML for non-alternating table");
index 54ff6a2bd4776fd31fad4b7264040241791b0e59..23510387575f9d692788e6b1bec19ee35425df5b 100644 (file)
--- a/t/table.t
+++ b/t/table.t
@@ -6,9 +6,9 @@ use lib qw(t/ t/m/);
 use File::Slurp;
 use Test::More qw(no_plan);
 
-use TestUtils;
 use HTML::TreeBuilder;
 use HTML::Element::Library;
+use Test::XML;
 
 use SimpleClass;
 
@@ -50,7 +50,5 @@ $tree->table
  
    );
 
-  my $generated_html = ptree($tree, "$root.gen");
-
-  is ($generated_html, File::Slurp::read_file("$root.exp"), 
+  is_xml ($tree->as_XML, scalar File::Slurp::read_file("$root.exp"), 
       "HTML for non-alternating table");
index 3b3942b40d2f05d71894120df2288a02688b14e4..c53735a8bf93ea5b7f306c73f819e7285ec9a7eb 100644 (file)
@@ -11,9 +11,9 @@ use lib qw(t/ t/m/);
 use File::Slurp;
 use Test::More;
 
-use TestUtils;
 use HTML::TreeBuilder;
 use HTML::Element::Library;
+use Test::XML;
 
 use data::table2;
 
@@ -22,7 +22,7 @@ my $o    = data::table2->new;
 
 # a - default table_ld
 
-my $root = 't/html/table2-table_ld-default';
+my $root = 't/html/table2';
 my $tree = HTML::TreeBuilder->new_from_file("$root.html");
 
 
@@ -31,13 +31,10 @@ my $table = HTML::Element::Library::ref_or_ld(
   ['_tag' => 'table']
  );
 
-my $generated_html = ptree($table, "$root.gen");
-
-is ($generated_html, File::Slurp::read_file("$root.exp"), $root);
+is_xml ($table->as_XML, scalar File::Slurp::read_file("$root-table_ld.exp"), $root);
 
 # b - arrayref table_ld
 
-$root = 't/html/table2-table_ld-arrayref';
 $tree = HTML::TreeBuilder->new_from_file("$root.html");
 
 
@@ -46,13 +43,10 @@ $table = HTML::Element::Library::ref_or_ld(
   [frame => 'hsides', rules => 'groups']
  );
 
-$generated_html = ptree($table, "$root.gen");
-
-is ($generated_html, File::Slurp::read_file("$root.exp"), $root);
+is_xml ($table->as_XML, scalar File::Slurp::read_file("$root-table_ld.exp"), $root);
 
 # c - coderef table_ld
 
-$root = 't/html/table2-table_ld-coderef';
 $tree = HTML::TreeBuilder->new_from_file("$root.html");
 
 
@@ -65,9 +59,7 @@ $table = HTML::Element::Library::ref_or_ld(
   }
  );
 
-$generated_html = ptree($table, "$root.gen");
-
-is ($generated_html, File::Slurp::read_file("$root.exp"), $root);
+is_xml ($table->as_XML, scalar File::Slurp::read_file("$root-table_ld.exp"), $root);
 
 
 done_testing;
index 8e364ec4c0e86236d78c82d54edf40147a27cddf..6e01c51bce21f5761559b8b43603d3ad447621a2 100644 (file)
@@ -11,10 +11,10 @@ use lib qw(t/ t/m/);
 use File::Slurp;
 use Test::More qw(no_plan);
 
-use TestUtils;
 use HTML::TreeBuilder;
 use HTML::Element::Library;
 use Scalar::Listify;
+use Test::XML;
 
 use data::table2;
 
@@ -23,7 +23,7 @@ my $o    = data::table2->new;
 
 # a - default table_ld
 
-my $root = 't/html/table2-tr_ld-default';
+my $root = 't/html/table2';
 my $tree = HTML::TreeBuilder->new_from_file("$root.html");
 
 
@@ -45,14 +45,12 @@ my $tr = HTML::Element::Library::ref_or_ld(
   [class => 'findMe']
  );
 
-my $generated_html = ptree($tr, "$root.gen");
-
-is ($generated_html, File::Slurp::read_file("$root.exp"), $root);
+is_xml ($tr->as_XML, scalar File::Slurp::read_file("$root.exp"), $root);
 
 # c - coderef tr_ld
 # removes windows listings before returning @tr
 
-$root = 't/html/table2-tr_ld-coderef';
+$root = 't/html/table2';
 $tree = HTML::TreeBuilder->new_from_file("$root.html");
 
 
@@ -81,7 +79,4 @@ $tree = HTML::TreeBuilder->new_from_file("$root.html");
 
 #warn $_->as_HTML, $/ for @tr;
 
-$generated_html = ptree($tree, "$root.gen");
-
-is ($generated_html, File::Slurp::read_file("$root.exp"), $root);
-
+is_xml ($tree->as_XML, scalar File::Slurp::read_file("$root-tr_ld-coderef.exp"), $root);
index a8bff3ef6737479aa95457bad64a1fa8b6bdb994..f72096e71a768118d15ecbd806f53d02250cf7db 100644 (file)
@@ -7,11 +7,10 @@ use File::Slurp;
 use Test::More;
 use Test::XML;
 
-use TestUtils;
-
 use Data::Dumper;
 use HTML::TreeBuilder;
 use HTML::Element::Library;
+use Test::XML;
 
 use data::table2;
 
@@ -47,9 +46,7 @@ for my $dataset (keys %$d) {
 }
 
 
-my $generated_html = ptree($tree, "$root.gen");
-
-is($generated_html, File::Slurp::read_file("$root.exp"), 'genhtml');
+is_xml ($tree->as_XML, scalar File::Slurp::read_file("$root.exp"), 'genhtml');
 
 
 done_testing;
index 90b87b7e0d6f339e64e86a840a3df103e5028801..a21c712fbe05d9cbd715e683a3c75301ce2c68dd 100644 (file)
@@ -6,9 +6,9 @@ use lib qw(t/ t/m/);
 use File::Slurp;
 use Test::More qw(no_plan);
 
-use TestUtils;
 use HTML::TreeBuilder;
 use HTML::Element::Library;
+use Test::XML;
 
 use SelectData;
 
@@ -27,7 +27,5 @@ $tree->unroll_select
    data_iter        => sub { my $data = shift; shift @$data }
   );
 
-  my $generated_html = ptree($tree, "$root.gen");
-
-  is ($generated_html, File::Slurp::read_file("$root.exp"), 
+is_xml ($tree->as_XML, scalar File::Slurp::read_file("$root.exp"), 
       "HTML for non-alternating table");
This page took 0.158076 seconds and 4 git commands to generate.