I founded the  test/testharness/jsonParse/jsonParseIndividualContextEntity.test (and corresponding one in xmlParser) a bit "chaotic". I have rearrange the operations, hoping that it makes more sense now...

NTC (just informative)