Actions
Bug #4400
closedPHP build error: error: .libs/SchemaValidator.o: No such file or directory
Start date:
2019-12-02
Due date:
% Done:
0%
Estimated time:
Found in version:
1.2.1
Fixed in version:
11.1
Platforms:
Description
Reported by user:
In the PHP_MINT_FUNCTION the handler.Offset for SchemaValidator is incorrectly pointing to the XPathProcessor:
INIT_CLASS_ENTRY(ce, "Saxon\\SchemaValidator", SchemaValidator_methods);
schemaValidator_ce = zend_register_internal_class(&ce);
schemaValidator_ce->create_object = schemaValidator_create_handler;
memcpy(&schemaValidator_object_handlers, zend_get_std_object_handlers(), sizeof(schemaValidator_object_handlers));
schemaValidator_object_handlers.offset = XtOffsetOf(xpathProcessor_object, std);
schemaValidator_object_handlers.free_obj = schemaValidator_free_storage;
schemaValidator_object_handlers.dtor_obj = schemaValidator_destroy_storage;
The line:
schemaValidator_object_handlers.offset = XtOffsetOf(xpathProcessor_object, std);
Should be:
schemaValidator_object_handlers.offset = XtOffsetOf(schemaValidator_object, std);
Updated by O'Neil Delpratt about 2 years ago
- Status changed from New to Closed
- Fixed in version set to 11.1
Bug fix applied in the SaxonC 11.1 maintenance release.
Please register to edit this issue
Actions