summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorot <ot@localhost>2007-02-07 09:11:07 +0000
committerot <ot@localhost>2007-02-07 09:11:07 +0000
commitf5fe443f0016dfa4752312b0e348ce4db4f4fa68 (patch)
tree78b57bad3022436d12b17f0cde3fe080ca21ff40
parentbf1ae6ac8cf5211da03c09bf6f39f97ac1331466 (diff)
downloadmarkup-validator-f5fe443f0016dfa4752312b0e348ce4db4f4fa68.zip
markup-validator-f5fe443f0016dfa4752312b0e348ce4db4f4fa68.tar.gz
markup-validator-f5fe443f0016dfa4752312b0e348ce4db4f4fa68.tar.bz2
adding explanation for xhtml-style error message in html
-rw-r--r--share/templates/en_US/error_messages.cfg15
1 files changed, 10 insertions, 5 deletions
diff --git a/share/templates/en_US/error_messages.cfg b/share/templates/en_US/error_messages.cfg
index 1a3e89d..731f76d 100644
--- a/share/templates/en_US/error_messages.cfg
+++ b/share/templates/en_US/error_messages.cfg
@@ -240,12 +240,17 @@
<div class="ve mid-63">
<p>
You have used character data somewhere it is not permitted to appear.
- Mistakes that can cause this error include putting text directly in the
- body of the document without wrapping it in a container element (such as
- a &lt;p&gt;aragraph&lt;/p&gt;) or forgetting to quote an attribute value
- (where characters such as "%" and "/" are common, but cannot appear
- without surrounding quotes).
+ Mistakes that can cause this error include:
</p>
+ <ul>
+ <li>putting text directly in the body of the document without wrapping
+ it in a container element (such as a &lt;p&gt;aragraph&lt;/p&gt;), or</li>
+ <li>forgetting to quote an attribute value
+ (where characters such as "%" and "/" are common, but cannot appear
+ without surrounding quotes), or</li>
+ <li>using XHTML-style closing tags (such as &lt;meta ... /&gt;) in HTML 4.01 or
+ earlier. (Fix: remove the extra / character)</li>
+ </ul>
</div>
.EOF.
</msg>