Project

Profile

Help

Bug #4689

closed

IllegalStateException when getting XdmNode after chaining transformation

Added by Frank Weenink over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Low
Category:
.NET API
Sprint/Milestone:
Start date:
2020-08-21
Due date:
% Done:

100%

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

Description

After updating the version of the nuget package Saxon-HE from 9.7.0.8 to 9.9.1.7 a chained transformation stopped working.

The code looks like this:

var t1 = e1.Load();

var t2 = e2.Load();

var t3 = e3.Load();

var dest = new XdmDestination();

t1.InitialContextNode = doc;

t2.Destination = t3;

t3.Destination = dest;

t1.Run(t2);

dest.XdmNode // throws java.lang.IllegalStateException: The document has not yet been built

Please register to edit this issue

Also available in: Atom PDF