Schema validation and conversion based on RELAX NG