Project

Profile

Help

Revision 44b7c94e

Added by Michael Kay about 12 years ago

Fix bug 2859139 ReceivingContentHandler reused incorrectly

View differences:

latest9.1/bj/net/sf/saxon/event/Sender.java
367 367

  
368 368
        ReceivingContentHandler ce;
369 369
        final ContentHandler ch = parser.getContentHandler();
370
        if (ch instanceof ReceivingContentHandler) {
370
        if (ch instanceof ReceivingContentHandler && config.isCompatible(((ReceivingContentHandler)ch).getConfiguration())) {
371 371
            ce = (ReceivingContentHandler)ch;
372 372
            ce.reset();
373 373
        } else {

Also available in: Unified diff