Project

Profile

Help

Bug #2282

closed

IdentityTransformer with empty DOMSource

Added by Michael Kay almost 10 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
JAXP Java API
Sprint/Milestone:
Start date:
2015-01-12
Due date:
% Done:

100%

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

Description

See also https://saxonica.plan.io/issues/2102

The patch for that issue causes a "real" transformation to handle an empty DOMSource, but it does not solve the problem when an empty DOMSource is supplied to an IdentityTransformer.

This patch changes DOMObjectModel.sendSource() to recognize this case, which should solve the problem for a wider variety of cases that use a DOMSource. Patched on the 9.6 and 9.7 branches.

Please register to edit this issue

Also available in: Atom PDF