org.apache.xerces.jaxp.SAXParserFactoryImpl not found in .NET
The following error happens when setting the catalog in the Saxon-EE/PE product when Processor is set to false:
Message: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl, saxon9he, Version=22.214.171.124, Culture=neutral, PublicKeyToken=e1fdd002d5083fe6 not found
The construction of the the dll property name string is wrongly set in the setDefaultSAXParserFactory method of the DotNetform class. The reason is it is based on the method getEditionCode in the configuration. For PE and EE products the edition code is defaulted to "HE" when the Processor object is created with the license flag set to false. This has the side effect of looking for the class javax.xml.parsers.SAXParserFactory in a HE DLL which is not the intent given that a PE or EE product has been installed.
Fix applied in the setDefaultSAXParserFactory method by using preprocessing directives to properly select the correct product built.
This problem is related to the fix to the bug issue: https://saxonica.plan.io/issues/2486
Please register to edit this issue