8058175: [XML 1.0/1.1] - Attribute values with supplemental characters are being corrupted
Reviewed-by: joehw
This commit is contained in:
parent
5167f1158a
commit
003e5fd5bf
@ -973,6 +973,7 @@ public abstract class XMLScanner
|
||||
fStringBuffer2.append('\n');
|
||||
}
|
||||
} else if (c != -1 && XMLChar.isHighSurrogate(c)) {
|
||||
fStringBuffer3.clear();
|
||||
if (scanSurrogates(fStringBuffer3)) {
|
||||
stringBuffer.append(fStringBuffer3);
|
||||
if (entityDepth == fEntityDepth && fNeedNonNormalizedValue) {
|
||||
|
Loading…
Reference in New Issue
Block a user