In the second fragment, neither the <b> nor the <c> tag are closed. Unlike SGML, XML does not allow tags to be automatically closed when the enclosing tag is closed. This is the reason why the <p> tag in HTML/XHTML gives people grief---in HTML you only need to put in the opened tags while in XHTML you need to put in both the opening and the closing tag.
then you can reconstruct either of the tags as necessary.
WellFormed XML differs from Valid XML in that Valid XML has been (or could be) checked against a Schema or DTD.
3 pages link to WellFormed:
lib/main.php:944: Notice: PageInfo: Cannot find action page