This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Still not clear. Are you asking whether that XSD is a valid schema? Are you asking whether that XML document is valid according to the schema? (It isn't even a well-formed XML document by the way.) Or what? It would help if you used standard XML terminology, too. (And also standard English... did you mean "write" or "right"?) Use the same terms as what is used in wherever you are studying from.