added runtime xsd validation support