From b997cf4c0f99ff0bd1658483885ade0adfaf07ee Mon Sep 17 00:00:00 2001 From: "rbs%maths.uq.edu.au" Date: Thu, 23 May 2002 08:16:54 +0000 Subject: [PATCH] Add the DOCTYPE for the XHTML+MathML+SVG profile in the recognized catalog list, b=145810, r=heikki, sr=jst --- htmlparser/src/nsExpatDriver.cpp | 1 + parser/htmlparser/src/nsExpatDriver.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/htmlparser/src/nsExpatDriver.cpp b/htmlparser/src/nsExpatDriver.cpp index c247db7c9e2a..69688b0c65ea 100644 --- a/htmlparser/src/nsExpatDriver.cpp +++ b/htmlparser/src/nsExpatDriver.cpp @@ -204,6 +204,7 @@ static const nsCatalogData kCatalogTable[] = { {"-//W3C//DTD XHTML 1.0 Frameset//EN", "xhtml11.dtd", nsnull }, {"-//W3C//DTD XHTML Basic 1.0//EN", "xhtml11.dtd", nsnull }, {"-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN", "mathml.dtd", "resource:/res/mathml.css" }, + {"-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN", "mathml.dtd", "resource:/res/mathml.css" }, {"-//W3C//DTD SVG 20001102//EN", "svg.dtd", nsnull }, {nsnull, nsnull, nsnull} }; diff --git a/parser/htmlparser/src/nsExpatDriver.cpp b/parser/htmlparser/src/nsExpatDriver.cpp index c247db7c9e2a..69688b0c65ea 100644 --- a/parser/htmlparser/src/nsExpatDriver.cpp +++ b/parser/htmlparser/src/nsExpatDriver.cpp @@ -204,6 +204,7 @@ static const nsCatalogData kCatalogTable[] = { {"-//W3C//DTD XHTML 1.0 Frameset//EN", "xhtml11.dtd", nsnull }, {"-//W3C//DTD XHTML Basic 1.0//EN", "xhtml11.dtd", nsnull }, {"-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN", "mathml.dtd", "resource:/res/mathml.css" }, + {"-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN", "mathml.dtd", "resource:/res/mathml.css" }, {"-//W3C//DTD SVG 20001102//EN", "svg.dtd", nsnull }, {nsnull, nsnull, nsnull} };