summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorot <ot@localhost>2008-10-07 19:45:55 +0000
committerot <ot@localhost>2008-10-07 19:45:55 +0000
commitee50566e44f7a45295b04965b2186666bbbf7747 (patch)
treec9e126465632147db92585c88d76a3b6194a3731
parent8a53bcfe07e24b882951877338ff1f86cfe416da (diff)
downloadmarkup-validator-ee50566e44f7a45295b04965b2186666bbbf7747.zip
markup-validator-ee50566e44f7a45295b04965b2186666bbbf7747.tar.gz
markup-validator-ee50566e44f7a45295b04965b2186666bbbf7747.tar.bz2
adding explanation for the "end of document in prolog" error.
improvements to the wording welcome.
-rw-r--r--share/templates/en_US/error_messages.cfg7
1 files changed, 7 insertions, 0 deletions
diff --git a/share/templates/en_US/error_messages.cfg b/share/templates/en_US/error_messages.cfg
index 2b8e260..7f02d84 100644
--- a/share/templates/en_US/error_messages.cfg
+++ b/share/templates/en_US/error_messages.cfg
@@ -201,6 +201,13 @@
</msg>
<msg 47>
original = "end of document in prolog"
+ verbose <<.EOF.
+<div class="ve mid-47">
+ <p>
+ This error may appear when the validator receives an empty document. Please make sure that the document you are uploading is not empty, and <a href="./feedback.html">report</a> any discrepancy.
+ </p>
+</div>
+.EOF.
</msg>
<msg 48>
original = "%1 declaration not allowed in prolog"