Project

Profile

Help

Bug #3963

closed

exceptionOccurred does not return true when exceptionCount() > 1 for XsltProcessor

Added by O'Neil Delpratt about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Saxon-C Internals
Start date:
2018-10-10
Due date:
% Done:

100%

Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
1.1.0
Fixed in version:
1.1.2
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:

Description

Reported by user:

exceptionOccurred() does not return true when exceptionCount() > 1 for XsltProcessor

For some reason the code for the exceptionOccurred() method is different to the exceptionCount()


Related issues

Related to SaxonC - Bug #3961: checkException() method sometimes returns NULLClosedO'Neil Delpratt2018-10-10

Actions
Actions #1

Updated by O'Neil Delpratt almost 6 years ago

  • Related to Bug #3961: checkException() method sometimes returns NULL added
Actions #2

Updated by O'Neil Delpratt almost 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

The method exceptionOccurred is really for internal use when detecting and creating an exception object when an exception occurs. As reported in bug issue #3961 the indicated exception thrown is cleared internally therefore if the user calls this method it reports false.

I have added some better logic in the case the user calls this method. Therefore we capture the information of an exception occuring.

Bug fixed.

Actions #3

Updated by O'Neil Delpratt almost 6 years ago

  • Status changed from Resolved to Closed
  • Fixed in version set to 1.1.2

Bug fix applied in the Saxon/C 1.1.2 maintenance release.

Please register to edit this issue

Also available in: Atom PDF