summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorot <ot@localhost>2007-05-07 14:43:03 +0000
committerot <ot@localhost>2007-05-07 14:43:03 +0000
commitfbbe6ecf1cb0b181e547fd41643f281e797151ac (patch)
tree2975913072859d8a22955159063903fd8abac440
parent37756d2c206aa1691d577e79a3b93ec317268f88 (diff)
downloadmarkup-validator-fbbe6ecf1cb0b181e547fd41643f281e797151ac.zip
markup-validator-fbbe6ecf1cb0b181e547fd41643f281e797151ac.tar.gz
markup-validator-fbbe6ecf1cb0b181e547fd41643f281e797151ac.tar.bz2
error message explanation for missing xmlns
-rw-r--r--share/templates/en_US/error_messages.cfg11
1 files changed, 11 insertions, 0 deletions
diff --git a/share/templates/en_US/error_messages.cfg b/share/templates/en_US/error_messages.cfg
index f32a911..d5c0f59 100644
--- a/share/templates/en_US/error_messages.cfg
+++ b/share/templates/en_US/error_messages.cfg
@@ -1935,3 +1935,14 @@ verbose <<.EOF.
<msg 447>
original = "Sorry, \#ALL and \#IMPLICIT content tokens not implemented"
</msg>
+<msg no-xmlns>
+ original = "Missing xmlns attribute for element %1. The value should be: %2"
+ verbose <<.EOF.
+ <div class="ve no-xmlns">
+ <p>
+ Many Document Types based on XML need a mandatory <code>xmlns=""</code> on the root element. For example, the root element for <a href="http://www.w3.org/TR/xhtml1/#strict">XHTML</a> will look like:<br />
+ <code>&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt;</code>
+ </p>
+ </div>
+ .EOF.
+</msg> \ No newline at end of file