<?xml version="1.0"?> <student> <name> <fname>Joe</fname> <lname>Camel </name> <grade>A</grade> </student> <student category=staff> <name>Jim Xavier <grade>B</GRADE> </student> </name>
  1. Camel's element is not properly terminated
  2. Category's staff value should be enclosed in quotes
  3. XML tags are case sensitive so grade and GRADE do not match
  4. There is no root element

Note that it is okay to mix data and elements within the same tag so combining the string "Jim Xavier" with the grade element under name is acceptable.