validator/htdocs/config verbosemsg.cfg,1.1.2.11,1.1.2.12

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
+      &ldquo;<code class="inline">selected</code>&rdquo; attribute must be
+      either minimized as &ldquo;<code class="inline">selected</code>&rdquo;
+      or spelled out in full as &ldquo;<code
+        class="inline">selected="selected"</code>&rdquo;; the variant
+      &ldquo;<code class="inline">selected=""</code>&rdquo; 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 &ldquo;<code
+        class="inline">selected</code>&rdquo; attribute must be either
+      minimized as &ldquo;<code class="inline">selected</code>&rdquo;
+      or spelled out in full as &ldquo;<code
+        class="inline">selected="selected"</code>&rdquo;; a value like
+      &ldquo;<code class="inline">selected="true"</code>&rdquo; 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