[bv-dev] Support defining container element type contraints in XML