Rajeev Bahuguna opened SPR-11477 and commented
The method org.springframework.util.xml.XmlValidationModeDetector::hasOpeningTag should have this:
return (openTagIndex > -1 && content.length() > (openTagIndex+1) && Character.isLetter(content.charAt(openTagIndex + 1)));
in place of the current:
return (openTagIndex > -1 && content.length() > openTagIndex && Character.isLetter(content.charAt(openTagIndex + 1)));
Affects: 3.2.8, 4.0.2
Referenced from: commits 1763bfb, 69c54a0
Backported to: 3.2.9