- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 01 Aug 2006 06:10:56 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv11577/httpd/cgi-bin
Modified Files:
check
Log Message:
Adding "Unicorn" (experimental) output format.
See http://www.w3.org/QA/2006/obs_framework/
Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.458
retrieving revision 1.459
diff -u -d -r1.458 -r1.459
--- check 31 Mar 2006 06:55:03 -0000 1.458
+++ check 1 Aug 2006 06:10:52 -0000 1.459
@@ -305,6 +305,13 @@
loop_context_vars => TRUE,
cache => TRUE,
);
+my $UCNT = HTML::Template->new(
+ filename => File::Spec->catfile($CFG->{Paths}->{Templates},
+ $lang, 'ucn_output.tmpl'),
+ die_on_bad_params => FALSE,
+ loop_context_vars => TRUE,
+ cache => TRUE,
+);
my $SOAPFT = HTML::Template->new(
filename => File::Spec->catfile($CFG->{Paths}->{Templates},
$lang, 'soap_fault.tmpl'),
@@ -669,6 +676,8 @@
$template = $EARLT;
} elsif ($File->{Opt}->{Output} eq 'n3') {
$template = $N3T;
+} elsif ($File->{Opt}->{Output} eq 'ucn') {
+ $template = $UCNT;
} elsif ($File->{Opt}->{Output} eq 'soap12') {
if ($File->{'Error Flagged'}) {
$template = $SOAPFT;
Received on Tuesday, 1 August 2006 06:11:02 UTC