Fix board rng to allow action tags

(transplanted from b79345dd5cccca43c6cd35dbb963432241c0d8a8)
This commit is contained in:
Cédric Krier committed 2011-02-28 12:30:53 +01:00
1 parent 1be7781ba0
commit 0802f16253
2 files changed
+10 -3

No files matched your search

+2 -1
View File
@@ -142,6 +142,7 @@ attlist.xpath &= attribute expr { text }
attlist.xpath &=
[ a:defaultValue = "inside" ]
attribute position { "inside" | "replace" | "replace_attributes" | "after" | "before" }?
action |= notAllowed
action = element action { attlist.action, empty }
attlist.action &= attribute name { text }
label |= notAllowed
start = data | board | label
+8 -2
View File
@@ -438,8 +438,14 @@
</attribute>
</optional>
</define>
<define name="action" combine="choice">
<notAllowed/>
<define name="action">
<element name="action">
<ref name="attlist.action"/>
<empty/>
</element>
</define>
<define name="attlist.action" combine="interleave">
<attribute name="name"/>
</define>
<define name="label" combine="choice">
<notAllowed/>