From 0802f1625304eeefb29571b5d6f36ca262b300b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 28 Feb 2011 12:30:53 +0100 Subject: [PATCH] Fix board rng to allow action tags (transplanted from b79345dd5cccca43c6cd35dbb963432241c0d8a8) --- trytond/ir/ui/board.rnc | 3 ++- trytond/ir/ui/board.rng | 10 ++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/trytond/ir/ui/board.rnc b/trytond/ir/ui/board.rnc index 7ddc22e518..06662802c0 100644 --- a/trytond/ir/ui/board.rnc +++ b/trytond/ir/ui/board.rnc @@ -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 diff --git a/trytond/ir/ui/board.rng b/trytond/ir/ui/board.rng index 066ddca0ac..a0c90e3b8d 100644 --- a/trytond/ir/ui/board.rng +++ b/trytond/ir/ui/board.rng @@ -438,8 +438,14 @@ - - + + + + + + + +