Project

Profile

Help

Bug #4469

closed

XQJ bindDocument() fails java.lang.IllegalStateException: Attempt to output end tag with no matching start tag

Added by Michael Kay about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XQuery Java API
Sprint/Milestone:
-
Start date:
2020-02-27
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

Revealed by JUnit test case TestXQueryUsingXQJ/testBindDocument

The problem seems to be that when TinyTreeWalker encounters a TinyTextualElement node, it should deliver a sequence of three events: startElement, text, endElement, but it is only sending the last two of the three.

I've no idea why this unit test failure hasn't been picked up earlier.

XQJ is pretty well the only thing using the pull pipeline these days (everything else is in push mode), so the code doesn't get well tested.

Also failing on the development branch.

Please register to edit this issue

Also available in: Atom PDF