XML Master Basic Practice Exam

Question 1

Correct answer : c

When the character “&” is directly described within the element, it is parsed as the start of an entity reference. Since an entity reference requires the “;” character, a is not a well-formed document. Directly describing the “<” character within an element is parsed as a start tag, rather than element content, and therefore, b is also not a well-formed document.

A blank space is not allowed after the “/” character in an empty element, so d is also not a well-formed document.