What
does it mean to be well-formed?
-
there is a single root node containing the whole of an XML document
-
each subtree is properly nested within the root node
-
names
are always case sensitive
-
start-tags and end-tags are always
mandatory (except that a combined start-and-end tag may be used for empty
nodes)
-
attribute values are always quoted