Project

Profile

Help

Bug #6017

closed

interrupted by signal 11: SIGSEGV when PyDocumentBuilder.set_schema_validator is set to None

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

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

100%

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

Description

It should be possible to set the PyDocumentBuilder.set_schema_validator to None, but the following code:

builder.set_schema_validator(None)

crashes as follows:

interrupted by signal 2: SIGINT

The method is missing a None check.

Please register to edit this issue

Also available in: Atom PDF