I have followed this tutorial for validating XML files. But I am receiving exception when validating XML file. What I am doing wrong? My codes: XML schema:
Add this line to your schema, just below the first line:
... and a closing tag as the last line in the schema: