summaryrefslogtreecommitdiffstats
path: root/httpd/cgi-bin/check
diff options
context:
space:
mode:
authorlink <link@localhost>2001-07-29 08:00:51 +0000
committerlink <link@localhost>2001-07-29 08:00:51 +0000
commit1eb953fc6eb2e9e9ac5418e83a1728f95ff4e488 (patch)
treeba1634b35bf22548782f7e8fb47138704ac3322b /httpd/cgi-bin/check
parent12ec6867defa4752c713b458e62cf8cfa48634e7 (diff)
downloadmarkup-validator-1eb953fc6eb2e9e9ac5418e83a1728f95ff4e488.zip
markup-validator-1eb953fc6eb2e9e9ac5418e83a1728f95ff4e488.tar.gz
markup-validator-1eb953fc6eb2e9e9ac5418e83a1728f95ff4e488.tar.bz2
Adding support for SMIL 1.0.
Diffstat (limited to 'httpd/cgi-bin/check')
-rwxr-xr-xhttpd/cgi-bin/check15
1 files changed, 10 insertions, 5 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check
index 5aef3a2..eb6e740 100755
--- a/httpd/cgi-bin/check
+++ b/httpd/cgi-bin/check
@@ -9,7 +9,7 @@
# This source code is available under the license at:
# http://www.w3.org/Consortium/Legal/copyright-software
#
-# $Id: check,v 1.167 2001-07-29 07:15:08 link Exp $
+# $Id: check,v 1.168 2001-07-29 08:00:51 link Exp $
#
# We need Perl 5.004.
@@ -80,9 +80,9 @@ my $element_ref = 'http://www.htmlhelp.com/reference/html40/';
#
# Strings
-$VERSION = q$Revision: 1.167 $;
+$VERSION = q$Revision: 1.168 $;
$VERSION =~ s/Revision: ([\d\.]+) /$1/;
-$DATE = q$Date: 2001-07-29 07:15:08 $;
+$DATE = q$Date: 2001-07-29 08:00:51 $;
$MAINTAINER = 'gerald@w3.org';
$NOTICE = ''; # "<p><strong>Note: This service will be ...</strong>";
@@ -496,6 +496,11 @@ if ($File->{Type} eq 'xhtml') {
$ENV{SP_CHARSET_FIXED} = 'YES';
$ENV{SP_ENCODING} = 'UTF-8';
$xmlflags = '-wxml';
+} elsif ($File->{Type} eq 'smil') {
+ $catalog = $sgmlstuff . '/smil.soc';
+ $ENV{SP_CHARSET_FIXED} = 'YES';
+ $ENV{SP_ENCODING} = 'UTF-8';
+ $xmlflags = '-wxml';
} elsif ($File->{Type} eq 'mathml') {
$catalog = $sgmlstuff . '/mathml.soc';
$ENV{SP_CHARSET_FIXED} = 'NO';
@@ -549,7 +554,7 @@ close ESIS or warn "close($temp.esis) returned: $!";
my $fpi;
my $version = 'unknown';
-if ($File->{Type} eq 'xhtml' or $File->{Type} eq 'mathml' or $File->{Type} eq 'svg') {
+if ($File->{Type} eq 'xhtml' or $File->{Type} eq 'mathml' or $File->{Type} eq 'svg' or $File->{Type} eq 'smil') {
$fpi = $File->{DOCTYPE};
} elsif ($File->{Type} eq 'xml') {
$fpi = 'XML';
@@ -614,7 +619,7 @@ if ($File->{Type} eq 'xml' or $File->{Type} eq 'xhtml') {
&print_table;
&print_warnings;
-if ($File->{Type} eq 'xml' or $File->{Type} eq 'xhtml' or $File->{Type} eq 'mathml') {
+if ($File->{Type} eq 'xml' or $File->{Type} eq 'xhtml' or $File->{Type} eq 'mathml' or $File->{Type} eq 'svg' or $File->{Type} eq 'smil') {
my $xmlvalid = ($File->{DOCTYPE} ? ' and validity' : '');
print <<"EOHD";
<p>