summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorot <ot@localhost>2005-04-19 05:50:14 +0000
committerot <ot@localhost>2005-04-19 05:50:14 +0000
commitc8c7ee38d3b9ca472621de650cbc973c38d9de1e (patch)
tree3a4719ee06ced08a0bd3933ba45e1f21e00e1535
parent59d10e9bfbf734922a5bda25b8641cd01e7f4f35 (diff)
downloadmarkup-validator-c8c7ee38d3b9ca472621de650cbc973c38d9de1e.zip
markup-validator-c8c7ee38d3b9ca472621de650cbc973c38d9de1e.tar.gz
markup-validator-c8c7ee38d3b9ca472621de650cbc973c38d9de1e.tar.bz2
Adding XHTML+Math* to types registry
- allows pretty-print FPI display in results - "forces" proper parse modes (XML) even if sent as text/html
-rw-r--r--htdocs/config/types.conf32
1 files changed, 31 insertions, 1 deletions
diff --git a/htdocs/config/types.conf b/htdocs/config/types.conf
index 2cefa28..e734023 100644
--- a/htdocs/config/types.conf
+++ b/htdocs/config/types.conf
@@ -1,7 +1,7 @@
#
# Main Document Type Database for the W3C Markup Validation Service.
#
-# $Id: types.conf,v 1.10 2005-02-05 04:08:31 link Exp $
+# $Id: types.conf,v 1.11 2005-04-19 05:50:14 ot Exp $
#
# Maintains all information for each of the document types we support.
# See 'perldoc Config::General' for the syntax, and be aware that the
@@ -333,6 +333,36 @@
</Types>
</MathML_2>
+<XHTML_1.1_MathML_2>
+ Name = math
+ Display = XHTML 1.1 plus MathML 2.0
+ Info URL = http://www.w3.org/TR/MathML2/
+ PubID = -//W3C//DTD XHTML 1.1 plus MathML 2.0//EN
+ SysID = http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd
+ Namespace = http://www.w3.org/1999/xhtml
+ Parse Mode = XML
+ <Types>
+ Allowed = application/xhtml+xml
+ Forbidden = text/html
+ Preferred = application/xhtml+xml
+ </Types>
+</XHTML_1.1_MathML_2>
+
+<XHTML_1.1_MathML_2_SVG_1.1>
+ Name = math
+ Display = XHTML 1.1 plus MathML 2.0 plus SVG 1.1
+ Info URL = http://www.w3.org/TR/XHTMLplusMathMLplusSVG/
+ PubID = -//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN
+ SysID = http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd
+ Namespace = http://www.w3.org/1999/xhtml
+ Parse Mode = XML
+ <Types>
+ Allowed = application/xhtml+xml
+ Forbidden = text/html
+ Preferred = application/xhtml+xml
+ </Types>
+</XHTML_1.1_MathML_2_SVG_1.1>
+
<SVG_1_0>
Name = svg
Display = SVG 1.0