Project

Profile

Help

Feature #6595

open

Shouldn't XPathSelector have a method setTraceFunctionDestination?

Added by Martin Honnen about 20 hours ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
s9api API
Sprint/Milestone:
-
Start date:
2024-11-22
Due date:
% Done:

0%

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

Description

For s9api and both XSLT 3 processing with https://www.saxonica.com/html/documentation12/javadoc/net/sf/saxon/s9api/AbstractXsltTransformer.html#setTraceFunctionDestination(net.sf.saxon.lib.Logger) and XQuery 3 evaluation with https://www.saxonica.com/html/documentation12/javadoc/net/sf/saxon/s9api/XQueryEvaluator.html#setTraceFunctionDestination(net.sf.saxon.lib.Logger) I can set up a (Standard)Logger as the "destination for output from the fn:trace() function".

For https://www.saxonica.com/html/documentation12/javadoc/net/sf/saxon/s9api/XPathSelector.html I don't see any such options, trace output ends up in the console.

It seems desirable to have a method setTraceFunctionDestination on XPathSelector so that my code can capture fn:trace output for XPath evaluation the same as it can do for XSLT and XQuery evaluation.

No data to display

Please register to edit this issue

Also available in: Atom PDF