Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
Following test (in EntitiesTest.java) fails:
public void testNumberOverflow() throws Exception
{ doTestUnescapeEntity("�", "�"); doTestUnescapeEntity("x�y", "x�y"); doTestUnescapeEntity("�", "�"); doTestUnescapeEntity("x�y", "x�y"); }Maximim value for char is 0xFFFF, so � is invalid entity reference, and so should be left as is.