Project

Profile

Help

Support #4434

closed

Using SaxonTransformerFactory sometimes leaves the Configuration without an APIProvider

Added by Alex Jitianu over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2020-01-20
Due date:
% Done:

0%

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

Description

Hello,

For me it all starts with SaxonTransformerFactory:

  1. The default constructor creates an Processor which in turn calls net.sf.saxon.Configuration.setProcessor(ApiProvider). This means that an Initializer instance will have access to an APIProcessor,
  2. The other constructor, that receives a Configuration object, creates a Processor that doesn't call the aforementioned method. This means that the Initializer will not have access to an APIProcessor.

I just want to know if this is by design and I should take care to set an APIProvider to my configuration instance or if it's actually something that the factory/processor should take care of.

Thank you, Alex

Please register to edit this issue

Also available in: Atom PDF