[MERGE] One more step towards better view validation: RNG validation on rendered...
authorOlivier Dony <odo@openerp.com>
Thu, 14 Jun 2012 15:35:32 +0000 (17:35 +0200)
committerOlivier Dony <odo@openerp.com>
Thu, 14 Jun 2012 15:35:32 +0000 (17:35 +0200)
commitbed2f2f0e6d4f8913db935d9d0beca1318223b58
treea418016613f7ec128aba27131cddb79e693599e0
parent0a80d35a66956caaa2198325f00e965ba2108890
parent3a81cf88f85966696f97f4b3bd961a39e7baaf8d
[MERGE] One more step towards better view validation: RNG validation on rendered view

This will allow improved validation of inherited
views, which is not possible when only the raw
arch is validated on its own - without context
many things cannot be verified.
Calling fields_view_get() also catches early all
mistakes that require dynamic validation, like
wrong XPath expressions (parent view contains
no match).
In order to have current addons pass the improved
validation the RNG had to be fixed to support
the new @modifiers attribute added by fields_view_get()
itself on many view elements, and a few missing
valid attributes, like @invisible on <filter>
and <group>. The latter had never been used
as part of the view architecture but appear
as a result of the handling of @groups
restrictions on view elements, and must
be allowed by the RNG schema.

bzr revid: odo@openerp.com-20120614153532-9200td4q90zci4jb