Allow calendar elements as calendar view xpath children

issue6812
review37741002
This commit is contained in:
Sergi Almacellas Abellana committed 2017-10-05 13:14:50 +02:00
1 parent 8f1242da3e
commit 3446e5c2c0
2 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ data = element data { attlist.data, xpath* }
attlist.data &= empty
xpath = element xpath {
attlist.xpath, ( field )*
attlist.xpath, (field | calendar)*
}
attlist.xpath &= attribute expr { text }
attlist.xpath &=
+4 -1
View File
@@ -60,7 +60,10 @@
<element name="xpath">
<ref name="attlist.xpath"/>
<zeroOrMore>
<ref name="field"/>
<choice>
<ref name="field"/>
<ref name="calendar"/>
</choice>
</zeroOrMore>
</element>
</define>