throw exception in validate pass if :o-tag cannot be casted to :tag