Checker for illegal child elements.
E.g.: head cannnot have child element body.