summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorot <ot@localhost>2007-06-26 09:09:43 +0000
committerot <ot@localhost>2007-06-26 09:09:43 +0000
commita36e58d14b88fe53265c248c55212dfbc5fbc8a6 (patch)
treea471bf04f7b57acd958a64b9fc8ed03b64f097b6
parent1cc497c765b355bf6b54828278d6926e592d0f39 (diff)
downloadmarkup-validator-a36e58d14b88fe53265c248c55212dfbc5fbc8a6.zip
markup-validator-a36e58d14b88fe53265c248c55212dfbc5fbc8a6.tar.gz
markup-validator-a36e58d14b88fe53265c248c55212dfbc5fbc8a6.tar.bz2
amended/new wording for doctypeless sgml documents that don't look like html
-rw-r--r--share/templates/en_US/error_messages.cfg8
-rw-r--r--share/templates/en_US/warnings.tmpl4
2 files changed, 10 insertions, 2 deletions
diff --git a/share/templates/en_US/error_messages.cfg b/share/templates/en_US/error_messages.cfg
index e75d764..6b50ac0 100644
--- a/share/templates/en_US/error_messages.cfg
+++ b/share/templates/en_US/error_messages.cfg
@@ -1002,6 +1002,14 @@
</msg>
<msg 187>
original = "no document type declaration; will parse without validation"
+ verbose <<.EOF.
+ <div class="ve mid-187">
+ <p>The document type could not be determined, because the document had no correct DOCTYPE declaration. The document does not look like HTML, therefore automatic fallback could not be performed, and the document was only checked against basic markup syntax.</p>
+ <p>Learn <a href="docs/help.html#faq-doctype">how to add a doctype to your document</a>
+ from our <acronym title="Frequently Asked Questions">FAQ</acronym>, or use the validator's
+ <code>Document Type</code> option to validate your document against a specific Document Type.</p>
+ </div>
+.EOF.
</msg>
<msg 188>
original = "no internal or external document type declaration subset; will parse without validation"
diff --git a/share/templates/en_US/warnings.tmpl b/share/templates/en_US/warnings.tmpl
index a8ccce9..7f32596 100644
--- a/share/templates/en_US/warnings.tmpl
+++ b/share/templates/en_US/warnings.tmpl
@@ -247,11 +247,11 @@
your document is not using a DOCTYPE Declaration.
</p>
<p>
- Without a DOCTYPE Declaration it is not possible to check the validity of your document. Since the document does not start with the root &lt;html&gt; element, the validator would not attempt validation on a fall back HTML document type, and aborted the validation process.
+ Without a DOCTYPE Declaration it is not possible to check the validity of your document. Since the document does not start with the root &lt;html&gt; element, automatic fallback to an HTML document type was not performed, and most of the validation process was aborted: only basic markup syntax was checked.
</p>
<p>Learn <a href="docs/help.html#faq-doctype">how to add a doctype to your document</a>
from our <acronym title="Frequently Asked Questions">FAQ</acronym>, or use the validator's
- option to validate your XML document against a specific Document Type</p>
+ <code>Document Type</code> option to validate your document against a specific Document Type.</p>
</li>
</TMPL_IF>
<TMPL_IF NAME="W09xml">