/[suikacvs]/test/html-webhacc/cc.cgi
Suika

Diff of /test/html-webhacc/cc.cgi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.61 by wakaba, Sun Jul 27 10:33:45 2008 UTC revision 1.62 by wakaba, Thu Aug 14 15:50:42 2008 UTC
# Line 44  use CGI::Carp qw[fatalsToBrowser]; Line 44  use CGI::Carp qw[fatalsToBrowser];
44    
45    require WebHACC::Result;    require WebHACC::Result;
46    my $result = WebHACC::Result->new;    my $result = WebHACC::Result->new;
   $result->{conforming_min} = 1;  
   $result->{conforming_max} = 1;  
47    $result->output ($out);    $result->output ($out);
48    
49    require WebHACC::Input;    require WebHACC::Input;
# Line 53  use CGI::Carp qw[fatalsToBrowser]; Line 51  use CGI::Carp qw[fatalsToBrowser];
51    
52    check_and_print ($input => $result => $out);    check_and_print ($input => $result => $out);
53        
   $result->generate_result_section;  
   
54    $out->nav_list;    $out->nav_list;
55    
56    exit;    exit;
# Line 70  sub check_and_print ($$$) { Line 66  sub check_and_print ($$$) {
66    $input->generate_transfer_sections ($result);    $input->generate_transfer_sections ($result);
67    
68    unless (defined $input->{s}) {    unless (defined $input->{s}) {
69      $result->{conforming_min} = 0;      ## NOTE: This is an error of the implementation.
70        $result->layer_uncertain ('transfer');
71        $result->generate_result_section;
72      return;      return;
73    }    }
74    
# Line 122  sub check_and_print ($$$) { Line 120  sub check_and_print ($$$) {
120          unless defined $subinput->{base_uri};          unless defined $subinput->{base_uri};
121      $subinput->{parent_input} = $input;      $subinput->{parent_input} = $input;
122    
123      $subinput->start_section ($result);      my $subresult = WebHACC::Result->new;
124      check_and_print ($subinput => $result => $out);      $subresult->output ($out);
125      $subinput->end_section ($result);      $subresult->parent_result ($result);
126    
127        $subinput->start_section ($subresult);
128        check_and_print ($subinput => $subresult => $out);
129        $subinput->end_section ($subresult);
130    }    }
131    
132      $result->generate_result_section;
133    
134    $out->input ($original_input);    $out->input ($original_input);
135  } # check_and_print  } # check_and_print
136    

Legend:
Removed from v.1.61  
changed lines
  Added in v.1.62

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24