- From: Terje Bless <link@hutz.w3.org>
- Date: Wed, 19 May 2004 05:37:23 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/htdocs/config In directory hutz:/tmp/cvs-serv24900 Modified Files: Tag: validator-0_6_0-branch verbosemsg.cfg Log Message: Adding explanations for Error #121 and #131; attribute syntax errors. Index: verbosemsg.cfg =================================================================== RCS file: /sources/public/validator/htdocs/config/Attic/verbosemsg.cfg,v retrieving revision 1.1.2.11 retrieving revision 1.1.2.12 diff -u -d -r1.1.2.11 -r1.1.2.12 --- verbosemsg.cfg 19 May 2004 05:24:17 -0000 1.1.2.11 +++ verbosemsg.cfg 19 May 2004 05:37:20 -0000 1.1.2.12 @@ -523,6 +523,19 @@ </msg> <msg 121> original = "syntax of attribute value does not conform to declared value" + verbose <<.EOF. + <div class="ve mid-121"> + <p> + The value of an attribute contained something that is not allowed by + the specified syntax for that type of attribute. For instance, the + “<code class="inline">selected</code>” attribute must be + either minimized as “<code class="inline">selected</code>” + or spelled out in full as “<code + class="inline">selected="selected"</code>”; the variant + “<code class="inline">selected=""</code>” is not allowed. + </p> + </div> +.EOF. </msg> <msg 122> original = "character %1 is not allowed in the value of attribute %2" @@ -563,6 +576,21 @@ </msg> <msg 131> original = "value of attribute %2 cannot be %1; must be one of %3" + verbose <<.EOF. + <div class="ve mid-131"> + <p> + The value of the attribute is defined to be one of a list of possible + values but in the document it contained something that is not allowed + for that type of attribute. For instance, the “<code + class="inline">selected</code>” attribute must be either + minimized as “<code class="inline">selected</code>” + or spelled out in full as “<code + class="inline">selected="selected"</code>”; a value like + “<code class="inline">selected="true"</code>” is not + allowed. + </p> + </div> +.EOF. </msg> <msg 132> original = "%1 is not a data or subdocument entity"
Received on Wednesday, 19 May 2004 01:41:09 UTC