C validating xml against a schema