Project

Profile

Help

Support #5169

closed

Cannot set recover policy using javax.xml.transform.TransformerFactory API

Added by Radu Coravu over 2 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
2021-11-18
Due date:
% Done:

100%

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

Description

Working to integrate Saxon 10 with Oxygen XML Editor, sorry if I'm being rusty.

Setting something like this in our code:

transformerFactory.setAttribute(net.sf.saxon.lib.FeatureKeys.RECOVERY_POLICY,Configuration.RECOVER_WITH_WARNINGS)

does not seem to work anymore.

Somehow the recover policy would need to propagate to "net.sf.saxon.trans.SimpleMode.reportAmbiguity(Item, Rule, Rule, XPathContext)" but I do not see how it would propagate there.

Is there an alternate API to using javax.xml.transform.TransformerFactory to set the policy on the transformer?

Please register to edit this issue

Also available in: Atom PDF