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

        issue8735
        review274091002
        (grafted from dc3a2f95414f3a2057024a92aeed988afd30df76)
diffstat:

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

diffs (32 lines):

diff -r 703ca189d11e -r 8faf07ce520a trytond/tryton.rnc
--- a/trytond/tryton.rnc        Fri Oct 25 23:05:38 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 703ca189d11e -r 8faf07ce520a trytond/tryton.rng
--- a/trytond/tryton.rng        Fri Oct 25 23:05:38 2019 +0200
+++ b/trytond/tryton.rng        Tue Oct 22 10:07:59 2019 +0200
@@ -53,6 +53,17 @@
       <text/>
     </attribute>
   </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