Bug 1096172 - Fix position reporting of bad charrefs in RCDATA. r=hsivonen.

This commit is contained in:
Michael[tm] Smith
2015-04-02 12:48:06 +03:00
parent 75afa21431
commit f9d39da746
2 changed files with 2 additions and 2 deletions

View File

@@ -3593,7 +3593,7 @@ public class Tokenizer implements Locator {
*/
flushChars(buf, pos);
clearStrBufAndAppend(c);
additional = '\u0000';
setAdditionalAndRememberAmpersandLocation('\u0000');
returnState = state;
state = transition(state, Tokenizer.CONSUME_CHARACTER_REFERENCE, reconsume, pos);
continue stateloop;