Project

Profile

Help

Bug #2566

closed

Streaming does not work from the Transform command line

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
Command Line
Sprint/Milestone:
-
Start date:
2015-12-30
Due date:
% Done:

100%

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

Description

Running a transformation from the command line, if there is no global context item declaration, we build the source document as a tree regardless whether the initial mode is streamable. See Transform line 1193.

Actions #1

Updated by Michael Kay about 8 years ago

  • Status changed from New to In Progress

The actual error message is:

Error

Requested initial mode is streamable: must supply a StreamSource or SAXSource

Actions #2

Updated by Michael Kay about 8 years ago

  • Status changed from In Progress to Resolved
  • Fix Committed on Branch 9.7 added

Modified the code in net.sf.saxon.Transform so when there is no global context item declaration, it builds a source tree only if the initial mode is not streamable.

Actions #3

Updated by O'Neil Delpratt about 8 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 9.7.0.4 added

Bug fix applied in the Saxon 9.7.0.4 maintenance release.

Please register to edit this issue

Also available in: Atom PDF