Bug #2745
closedorg.apache.xerces.jaxp.SAXParserFactoryImpl not found in .NET
100%
Description
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=9.7.0.5, 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
Related issues
Updated by O'Neil Delpratt over 8 years ago
- Related to Bug #2486: Using -catalog with .NET command line added
Updated by O'Neil Delpratt over 8 years ago
- Fix Committed on Branch 9.6, 9.7, 9.8 added
Bug fixed and committed to subversion.
Updated by O'Neil Delpratt over 8 years ago
- Category set to .NET API
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Updated by O'Neil Delpratt over 8 years ago
- Fixed in Maintenance Release 9.7.0.5 added
Bug fix applied in the 9.7.0.5 maintenance release. Leaving this bug open until fix is applied in the 9.6 maintenance release.
Updated by O'Neil Delpratt over 8 years ago
- Status changed from Resolved to Closed
- Fixed in Maintenance Release 9.6.0.9 added
- Fixed in Maintenance Release deleted (
9.7.0.5)
Bug fix applied in the Saxon 9.6.0.9 maintenance release.
Updated by O'Neil Delpratt over 8 years ago
- Fixed in Maintenance Release 9.7.0.5 added
Updated by O'Neil Delpratt over 7 years ago
- Applies to branch trunk added
- Applies to branch deleted (
9.8)
Updated by O'Neil Delpratt over 7 years ago
- Fix Committed on Branch trunk added
- Fix Committed on Branch deleted (
9.8)
Please register to edit this issue