diff options
author | link <link@localhost> | 2001-07-29 07:05:06 +0000 |
---|---|---|
committer | link <link@localhost> | 2001-07-29 07:05:06 +0000 |
commit | 3dc4d3cbae07cc49a328f784b6a47aa180891779 (patch) | |
tree | 19a9f6ac9b663522b31ed0769c36370a9b33eca8 | |
parent | 41e756d4dbf026dbd055860729d752bf002836f8 (diff) | |
download | markup-validator-3dc4d3cbae07cc49a328f784b6a47aa180891779.zip markup-validator-3dc4d3cbae07cc49a328f784b6a47aa180891779.tar.gz markup-validator-3dc4d3cbae07cc49a328f784b6a47aa180891779.tar.bz2 |
Adding support for 20010719 SVG 1.0 PR.
-rw-r--r-- | htdocs/config/doctypes.cfg | 4 | ||||
-rw-r--r-- | htdocs/config/fpis.cfg | 7 | ||||
-rw-r--r-- | htdocs/config/type.cfg | 6 | ||||
-rwxr-xr-x | htdocs/dev/tests/index.html | 5 | ||||
-rwxr-xr-x | httpd/cgi-bin/check | 13 |
5 files changed, 25 insertions, 10 deletions
diff --git a/htdocs/config/doctypes.cfg b/htdocs/config/doctypes.cfg index 77d03be..b602384 100644 --- a/htdocs/config/doctypes.cfg +++ b/htdocs/config/doctypes.cfg @@ -1,7 +1,7 @@ # # Mapping of HTML Version "names" to DOCTYPEs. Used for DOCTYPE overide. # -# $Id: doctypes.cfg,v 1.4 2001-07-16 09:02:19 link Exp $ +# $Id: doctypes.cfg,v 1.5 2001-07-29 07:05:05 link Exp $ HTML 0.0 <!DOCTYPE html PUBLIC "-//IETF//DTD HTML Level 0//EN//2.0"> Strict HTML 0.0 <!DOCTYPE html PUBLIC "-//IETF//DTD HTML Strict Level 0//EN//2.0"> @@ -42,3 +42,5 @@ XHTML 1.0 Transitional <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitiona XHTML 1.0 Frameset <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> XHTML Basic 1.0 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd"> XHTML 1.1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +SVG 1.0 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/PR-SVG-20010719/DTD/svg10.dtd"> + diff --git a/htdocs/config/fpis.cfg b/htdocs/config/fpis.cfg index 427f39c..242651f 100644 --- a/htdocs/config/fpis.cfg +++ b/htdocs/config/fpis.cfg @@ -1,7 +1,7 @@ # # Mapping of FPIs to plain text version strings. # -# $Id: fpis.cfg,v 1.12 2001-07-17 00:50:24 link Exp $ +# $Id: fpis.cfg,v 1.13 2001-07-29 07:05:06 link Exp $ -//IETF//DTD HTML Level 0//EN//2.0 HTML 0.0 -//IETF//DTD HTML Strict Level 0//EN//2.0 Strict HTML 0.0 @@ -57,3 +57,8 @@ ISO/IEC 15445:2000//DTD HTML//EN <a href="http://purl.org/NET/ISO+IEC.15445/1544 -//W3C//DTD XHTML 1.1//EN <a href="http://www.w3.org/TR/2001/REC-xhtml11-20010531/">XHTML 1.1</a> +-//W3C//DTD SVG 1.0//EN <a href="http://www.w3.org/TR/2001/PR-SVG-20010719/">SVG 1.0</a> + +-//W3C//DTD SVG 20010719//EN <a href="http://www.w3.org/TR/2001/PR-SVG-20010719/">SVG 1.0 PR 20010719</a> + + diff --git a/htdocs/config/type.cfg b/htdocs/config/type.cfg index 4a95bf2..aa113f6 100644 --- a/htdocs/config/type.cfg +++ b/htdocs/config/type.cfg @@ -1,11 +1,13 @@ # # Mapping of Content-Type to document type. # -# $Id: type.cfg,v 1.2 2001-04-19 03:06:58 link Exp $ +# $Id: type.cfg,v 1.3 2001-07-29 07:05:06 link Exp $ text/xml xml -image/svg xml +image/svg svg +image/svg+xml svg application/smil xml application/xml xml text/html html text/vnd.wap.wml xml + diff --git a/htdocs/dev/tests/index.html b/htdocs/dev/tests/index.html index 7dc8d95..f57e09e 100755 --- a/htdocs/dev/tests/index.html +++ b/htdocs/dev/tests/index.html @@ -5,7 +5,7 @@ <title>W3C HTML Validation Service: Tests</title> <link rev="made" href="mailto:gerald@w3.org"> <meta name="revision" - content="$Id: index.html,v 1.33 2001-07-21 11:49:17 duerst Exp $"> + content="$Id: index.html,v 1.34 2001-07-29 07:05:06 link Exp $"> </head> <body bgcolor="#FFFFFF" text="#000000" link="#0000ee" vlink="#551a8b"> @@ -47,6 +47,7 @@ <li><a href="/check?uri=http://validator.w3.org/dev/tests/xhtml-mathml2.html;ss">XHTML/MathML2</a> (from the <a href="http://www.w3.org/TR/2000/CR-MathML2-20001113/chapter2.html#N1783">MathML 2.0 spec</a>) <li><a href="/check?uri=http://validator.w3.org/dev/tests/mathml2.html;ss">MathML 2.0</a> (minimal test document) <li><a href="/check?uri=http://www.w3.org/1999/09/SVG-access/computer.svg">image/svg</a> +<li><a href="/check?uri=http://www.w3.org/TR/2001/PR-SVG-20010719/images/struct/StandAlone01.svg">SVG 1.0 from 20010719 PR</a> <li>@@ application/smil <li><a name="xml">more XML test cases</a>: <ul> @@ -117,7 +118,7 @@ stress test (wrong cases)</a>, <a href='http://www.w3.org/2001/06/utf-8-wrong/'> src="http://validator.w3.org/images/vh40.gif" height=31 width=88 align=right border=0 alt="Valid W3C HTML 4.0!"></a> <a href="/feedback.html">Gerald Oskoboiny</A><br> - $Date: 2001-07-21 11:49:17 $ + $Date: 2001-07-29 07:05:06 $ </address> </body> diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check index c2d59f6..c62d3fd 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.165 2001-07-26 13:52:39 duerst Exp $ +# $Id: check,v 1.166 2001-07-29 07:05:06 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.165 $; +$VERSION = q$Revision: 1.166 $; $VERSION =~ s/Revision: ([\d\.]+) /$1/; -$DATE = q$Date: 2001-07-26 13:52:39 $; +$DATE = q$Date: 2001-07-29 07:05:06 $; $MAINTAINER = 'gerald@w3.org'; $NOTICE = ''; # "<p><strong>Note: This service will be ...</strong>"; @@ -491,6 +491,11 @@ if ($File->{Type} eq 'xhtml') { $ENV{SP_CHARSET_FIXED} = 'YES'; $ENV{SP_ENCODING} = 'UTF-8'; $xmlflags = '-wxml'; +} elsif ($File->{Type} eq 'svg') { + $catalog = $sgmlstuff . '/svg.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'; @@ -544,7 +549,7 @@ close ESIS or warn "close($temp.esis) returned: $!"; my $fpi; my $version = 'unknown'; -if ($File->{Type} eq 'xhtml' or $File->{Type} eq 'mathml') { +if ($File->{Type} eq 'xhtml' or $File->{Type} eq 'mathml' or $File->{Type} eq 'svg') { $fpi = $File->{DOCTYPE}; } elsif ($File->{Type} eq 'xml') { $fpi = 'XML'; |