diff options
author | ot <ot@localhost> | 2007-09-25 06:58:42 +0000 |
---|---|---|
committer | ot <ot@localhost> | 2007-09-25 06:58:42 +0000 |
commit | 20d706dd0f3cc9bdd25e8e79cdd19f3d57daec51 (patch) | |
tree | 12ea3dbbfc6244bfff8ea3e5becd30eb8b0bd428 | |
parent | ad8faee9983ca359209cc5e76022ba96f18948f4 (diff) | |
download | markup-validator-20d706dd0f3cc9bdd25e8e79cdd19f3d57daec51.zip markup-validator-20d706dd0f3cc9bdd25e8e79cdd19f3d57daec51.tar.gz markup-validator-20d706dd0f3cc9bdd25e8e79cdd19f3d57daec51.tar.bz2 |
explaining shorttags warnings
-rw-r--r-- | share/templates/en_US/error_messages.cfg | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/share/templates/en_US/error_messages.cfg b/share/templates/en_US/error_messages.cfg index 6fe0cc9..bb76cef 100644 --- a/share/templates/en_US/error_messages.cfg +++ b/share/templates/en_US/error_messages.cfg @@ -1187,6 +1187,16 @@ </msg> <msg 246> original = "unclosed start-tag requires SHORTTAG YES" + verbose <<.EOF. + <div class="ve mid-246"> + <p> + The construct <foo<bar> is valid in HTML (it is an example of the rather obscure “Shorttags” feature) + but <a href="http://www.w3.org/TR/html4/appendix/notes.html#h-B.3.7">its use is not recommended</a>. + In most cases, this is a typo that you will want to fix. If you really want to use shorttags, + be aware that they are not well implemented by browsers. + </p> + </div> + .EOF. </msg> <msg 247> original = "NET-enabling start-tag requires SHORTTAG YES" @@ -1205,6 +1215,16 @@ </msg> <msg 248> original = "unclosed end-tag requires SHORTTAG YES" + verbose <<.EOF. + <div class="ve mid-248"> + <p> + The construct </foo<bar> is valid in HTML (it is an example of the rather obscure “Shorttags” feature) + but <a href="http://www.w3.org/TR/html4/appendix/notes.html#h-B.3.7">its use is not recommended</a>. + In most cases, this is a typo that you will want to fix. If you really want to use shorttags, + be aware that they are not well implemented by browsers. + </p> + </div> + .EOF. </msg> <msg 249> original = "DTDs other than base allowed only if CONCUR YES or EXPLICIT YES" @@ -1469,9 +1489,29 @@ </msg> <msg 333> original = "empty start-tag" + verbose <<.EOF. + <div class="ve mid-334"> + <p> + The construct <> is sometimes valid in HTML (it is an example of the rather obscure “Shorttags” feature) + but <a href="http://www.w3.org/TR/html4/appendix/notes.html#h-B.3.7">its use is not recommended</a>. + In most cases, this is a typo that you will want to fix. If you really want to use shorttags, + be aware that they are not well implemented by browsers. + </p> + </div> +.EOF. </msg> <msg 334> original = "empty end-tag" + verbose <<.EOF. + <div class="ve mid-334"> + <p> + The construct </> is valid in HTML (it is an example of the rather obscure “Shorttags” feature) + but <a href="http://www.w3.org/TR/html4/appendix/notes.html#h-B.3.7">its use is not recommended</a>. + In most cases, this is a typo that you will want to fix. If you really want to use shorttags, + be aware that they are not well implemented by browsers. + </p> + </div> +.EOF. </msg> <msg 335> original = "unused short reference map %1" |