[Bug: 21.4.18] Error using SGML and XML modes