]> code.delx.au - gnu-emacs-elpa/commitdiff
Emit error for empty form-control `name` attr.
authorMichael[tm] Smith <mike@w3.org>
Sun, 28 Jun 2015 10:39:41 +0000 (19:39 +0900)
committerMichael[tm] Smith <mike@w3.org>
Sun, 28 Jun 2015 10:39:41 +0000 (19:39 +0900)
Fixes #106. Thanks @dhodder.

web-forms.rnc

index f786a1bc76c3b6b20b2178951be293028ea423f6..3f89143415ca2ef2a40cf5288baf75a12d748d8e 100644 (file)
@@ -13,7 +13,7 @@ datatypes w = "http://whattf.org/datatype-draft"
                
        common-form.attrs.name = 
                attribute name {
-                       string #REVISIT should this be restricted somehow? No & and = perhaps?
+                       form.data.nonemptystring
                }
 
        common-form.attrs.disabled =