Correctly handle section 2.10 and 2.11 of XML 1.0.