Validating xml with xsd c