changeset dc3a2f95414f in trytond:default
details: https://hg.tryton.org/trytond?cmd=changeset;node=dc3a2f95414f
description:
        Add missing skiptest attribute on xml validation

        issue8735
        review274091002
diffstat:

 trytond/tryton.rnc |   1 +
 trytond/tryton.rng |  11 +++++++++++
 2 files changed, 12 insertions(+), 0 deletions(-)

diffs (32 lines):

diff -r bfc90c50b591 -r dc3a2f95414f trytond/tryton.rnc
--- a/trytond/tryton.rnc        Wed Oct 16 21:31:25 2019 +0200
+++ b/trytond/tryton.rnc        Tue Oct 22 10:07:59 2019 +0200
@@ -8,6 +8,7 @@
 attlist.data &=
   [ a:defaultValue = "0" ] attribute grouped { "0" | "1" }?
 attlist.data &= attribute depends { text }?
+attlist.data &= attribute skiptest { "0" | "1" }?
 record = element record { attlist.record, field* }
 attlist.record &= attribute model { text }
 attlist.record &= attribute id { text }
diff -r bfc90c50b591 -r dc3a2f95414f trytond/tryton.rng
--- a/trytond/tryton.rng        Wed Oct 16 21:31:25 2019 +0200
+++ b/trytond/tryton.rng        Tue Oct 22 10:07:59 2019 +0200
@@ -55,6 +55,17 @@
       </attribute>
     </optional>
   </define>
+  <define name="attlist.data" combine="interleave">
+    <optional>
+      <attribute>
+        <name ns="">skiptest</name>
+        <choice>
+          <value>0</value>
+          <value>1</value>
+        </choice>
+      </attribute>
+    </optional>
+  </define>
   <define name="record">
     <element>
       <name ns="">record</name>

Reply via email to