How can I check my XML metadata validates correctly?

You can check your XML metadata validates correctly against the DataCite Metadata Schema using the XSD file.

Alternatively, you can use Fabrica. Log in with your repository account and navigate to the DOIs tab where you will see the Create (File Upload) option on the left. Paste or load your XML file in the file upload window. Remember to change the state to findable (there is no metadata validation draft state metadata). If there are any errors the metadata turns red and an error message appears indicating where the error is, once you edit the file and correct errors, the metadata appears in green and you can create a new DOI.

For more information watch this quick tutorial