Project

Profile

Help

Bug #3963

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

Added by O'Neil Delpratt 6 months ago. Updated 2 months ago.

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

100%

Found in version:
1.1.0
Fixed in version:
1.1.2

Description

Reported by user:

exceptionOccurred() does not return true whenexceptionCount() > 1 for XsltProcessor

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


Related issues

Related to Saxon/C - Bug #3961: checkException() method sometimes returns NULL Closed 2018-10-10 Actions

History

#1 Updated by O'Neil Delpratt 3 months ago

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

#2 Updated by O'Neil Delpratt 3 months 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.

#3 Updated by O'Neil Delpratt 2 months 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