The patch for CVE-2022-23308 may caused undefined reference to `xmlValidNormalizeString'
Calling xmlValidNormalizeString here will cause undefined reference to `xmlValidNormalizeString', when LIBXML_VALID_ENABLED is undefined. Since xmlValidNormalizeString is implicted under the macro LIBXML_VALID_ENABLED, which may not be a good implement. So, can we just move the xmlValidNormalizeString above of xmlRemoveID?