summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorot <ot@localhost>2008-01-31 06:26:13 +0000
committerot <ot@localhost>2008-01-31 06:26:13 +0000
commit594941c8f63a2f2ecb18754d8039d8c65d08836c (patch)
tree147d1264fb96dac613e96d45ba1cdd6f4665db46
parent5094976ce63bb3da919dd410c6c680e0bc30e762 (diff)
downloadmarkup-validator-594941c8f63a2f2ecb18754d8039d8c65d08836c.zip
markup-validator-594941c8f63a2f2ecb18754d8039d8c65d08836c.tar.gz
markup-validator-594941c8f63a2f2ecb18754d8039d8c65d08836c.tar.bz2
warn about incorrect public/system identifiers combinations
http://www.w3.org/Bugs/Public/show_bug.cgi?id=4848
-rw-r--r--share/templates/en_US/soap_warnings.tmpl3
-rw-r--r--share/templates/en_US/ucn_warnings.tmpl3
2 files changed, 6 insertions, 0 deletions
diff --git a/share/templates/en_US/soap_warnings.tmpl b/share/templates/en_US/soap_warnings.tmpl
index 289b8eb..279f9e8 100644
--- a/share/templates/en_US/soap_warnings.tmpl
+++ b/share/templates/en_US/soap_warnings.tmpl
@@ -85,6 +85,9 @@
<TMPL_IF NAME="W25">
<m:warning><m:messageid>W25</m:messageid><m:message><TMPL_VAR NAME="W25_dtd" ESCAPE="HTML"> document without DOCTYPE detected</m:message></m:warning>
</TMPL_IF>
+<TMPL_IF NAME="W26">
+ <m:warning><m:messageid>W26"></m:messageid><m:message>Mismatch between Public and System identifiers in the DOCTYPE declaration</m:message></m:warning>
+</TMPL_IF>
<TMPL_IF NAME="W@@">
<m:warning><m:messageid>W@@</m:messageid><m:message></m:message></m:warning>
diff --git a/share/templates/en_US/ucn_warnings.tmpl b/share/templates/en_US/ucn_warnings.tmpl
index beaeabe..5c7e378 100644
--- a/share/templates/en_US/ucn_warnings.tmpl
+++ b/share/templates/en_US/ucn_warnings.tmpl
@@ -85,6 +85,9 @@
<TMPL_IF NAME="W25">
<warning><messageid>W25</messageid><message><TMPL_VAR NAME="W25_dtd" ESCAPE="HTML"> document without DOCTYPE detected</message></warning>
</TMPL_IF>
+<TMPL_IF NAME="W26">
+ <warning><messageid>W26"></messageid><message>Mismatch between Public and System identifiers in the DOCTYPE declaration</message></warning>
+</TMPL_IF>
<TMPL_IF NAME="W@@">
<warning><messageid>W@@</messageid><message></message></warning>
</TMPL_IF>