From 4e78c1304af5a3bddaa5e9e146b41fb87a108c77 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Sat, 31 Dec 2011 13:31:00 -0500 Subject: Error messages about applying 'dynClass' to tags that don't like it --- src/urweb.grm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/urweb.grm') diff --git a/src/urweb.grm b/src/urweb.grm index 7ec580f3..1a9eb855 100644 --- a/src/urweb.grm +++ b/src/urweb.grm @@ -1462,6 +1462,9 @@ xmlOne : NOTAGS (EApp ((EVar (["Basis"], "cdata", Infer) NONE => (EVar (["Basis"], "None", Infer), pos) | SOME c => (EApp ((EVar (["Basis"], "Some", Infer), pos), c), pos)), pos) in + case #3 tag of + NONE => () + | SOME _ => ErrorMsg.errorAt pos "
does not support 'dynClass' attribute"; (EApp (e, xmlOpt), pos) end else if et = "subform" orelse et = "subforms" then -- cgit v1.2.3