[FIX] diagram view schema: diagram children are a single 'node' and a single 'arrow', in this order. Also require at least one 'field' in both node and arrow
bzr revid: xmo@openerp.com-20110901114349-c279654t361ta3q5
This commit is contained in:
@@ -81,12 +81,8 @@
|
||||
<rng:define name="diagram">
|
||||
<rng:element name="diagram">
|
||||
<rng:optional><rng:attribute name="string"/></rng:optional>
|
||||
<rng:zeroOrMore>
|
||||
<rng:choice>
|
||||
<rng:ref name="node"/>
|
||||
<rng:ref name="arrow"/>
|
||||
</rng:choice>
|
||||
</rng:zeroOrMore>
|
||||
<rng:ref name="node"/>
|
||||
<rng:ref name="arrow"/>
|
||||
</rng:element>
|
||||
</rng:define>
|
||||
|
||||
@@ -96,11 +92,9 @@
|
||||
<rng:optional><rng:attribute name="shape"/></rng:optional>
|
||||
<rng:optional><rng:attribute name="bgcolor"/></rng:optional>
|
||||
<rng:optional><rng:attribute name="form_view_ref"/></rng:optional>
|
||||
<rng:zeroOrMore>
|
||||
<rng:choice>
|
||||
<rng:ref name="field"/>
|
||||
</rng:choice>
|
||||
</rng:zeroOrMore>
|
||||
<rng:oneOrMore>
|
||||
<rng:ref name="field"/>
|
||||
</rng:oneOrMore>
|
||||
</rng:element>
|
||||
</rng:define>
|
||||
|
||||
@@ -111,11 +105,9 @@
|
||||
<rng:attribute name="destination" />
|
||||
<rng:optional><rng:attribute name="form_view_ref"/></rng:optional>
|
||||
<rng:optional><rng:attribute name="label"/></rng:optional>
|
||||
<rng:zeroOrMore>
|
||||
<rng:choice>
|
||||
<rng:ref name="field"/>
|
||||
</rng:choice>
|
||||
</rng:zeroOrMore>
|
||||
<rng:oneOrMore>
|
||||
<rng:ref name="field"/>
|
||||
</rng:oneOrMore>
|
||||
</rng:element>
|
||||
</rng:define>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user