element type checking for data-model bindings