Project

Profile

Help

Bug #4237

closed

Assertion error when bytecode generation fails

Added by Michael Kay almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
2019-06-18
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.9, trunk
Fix Committed on Branch:
9.9, trunk
Fixed in Maintenance Release:
Platforms:

Description

When bytecode generation for validation against a simple type fails, the recovery path includes a Java "assert" statement which causes a crash on the recovery path if Java assertions are enabled.

Caused by: java.lang.AssertionError
    at com.saxonica.ee.schema.UserAtomicType.validateContent(UserAtomicType.java:404)
    at com.saxonica.ee.validate.SimpleContentValidator.endElement(SimpleContentValidator.java:237)
    at com.saxonica.ee.validate.ValidationStack.endElement(ValidationStack.java:401)

Please register to edit this issue

Also available in: Atom PDF