Project

Profile

Help

Bug #2356

closed

XPathExpressionImpl always logs to System.err

Added by Mark Holster over 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Diagnostics
Sprint/Milestone:
Start date:
2015-04-10
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

Hi,

When evaluating a xpath expression against an InputSource the parse errors are always logged to the System.err stream. This is caused because the errorListener isn't copied from the Configuration instance in the net.sf.saxon.lib.ParseOptions.applyDefaults(Configuration) method. Although the javadoc of that method suggests the settings of the Configuration instance are copied to the ParseOptions instance, this will never be the case for the errorListener. The errorListener from the ParseOptions instance is copied to itself at this moment.

Kind regards,

Mark

Please register to edit this issue

Also available in: Atom PDF