validate_dimension_attributes function

Validate dimension attributes