Project

Profile

Help

Bug #5854

closed

PyDocumentBuilder missing exception handling method

Added by O'Neil Delpratt about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Python API
Start date:
2023-01-25
Due date:
% Done:

100%

Estimated time:
Found in version:
11.4, 12.0
Fixed in version:
11.5, 12.1
Platforms:

Description

Reported by user https://saxonica.plan.io/boards/4/topics/9258

The exception handling methods are available in the C++ code, missing from the Python PyDocumentBuilder class.

The solution going forward is to throw the exception.

Actions #1

Updated by O'Neil Delpratt about 1 year ago

  • Blocks Bug #5851: Exception found in XdmFunctionItem.call Message= added
Actions #2

Updated by O'Neil Delpratt about 1 year ago

  • Blocks deleted (Bug #5851: Exception found in XdmFunctionItem.call Message=)
Actions #3

Updated by O'Neil Delpratt about 1 year ago

  • Status changed from New to Resolved

We are now throwing the exception if we get a parse error.

Also fixed a bug in the DocumentBuilder constructor: Added logic to prevent the calling of setBaseUri for empty cwd string.

Actions #4

Updated by O'Neil Delpratt about 1 year ago

Fix in the DocumentBuilder constructor also applied on the SaxonC 11 branch.

Actions #5

Updated by O'Neil Delpratt about 1 year ago

  • Fixed in version set to 11.5

The bug fix applied in SaxonC 11.5 maintenance release is to prevent empty string being passed to the setBaseURI in the DocumentBuilder constructor.

Actions #6

Updated by O'Neil Delpratt about 1 year ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in version changed from 11.5 to 11.5, 12.1

Bug fixed applied in the SaxonC 12.1 maintenance release.

Please register to edit this issue

Also available in: Atom PDF