Bug 1555523.

This commit is contained in:
Henri Sivonen 2019-07-20 15:23:12 +02:00 committed by Roy Tam
commit 80fc56fb93
2 changed files with 5 additions and 11 deletions

View file

@ -3850,12 +3850,9 @@ public class Tokenizer implements Locator {
tokenHandler.characters(
Tokenizer.LT_SOLIDUS, 0, 2);
emitStrBuf();
if (c == '\u0000') {
emitReplacementCharacter(buf, pos);
} else {
cstart = pos; // don't drop the
// character
}
cstart = pos; // don't drop the
// character
reconsume = true;
state = transition(state, returnState, reconsume, pos);
continue stateloop;
}