Project

Profile

Help

Bug #2745

closed

org.apache.xerces.jaxp.SAXParserFactoryImpl not found in .NET

Added by O'Neil Delpratt almost 8 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Category:
.NET API
Sprint/Milestone:
Start date:
2016-05-12
Due date:
% Done:

100%

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

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

Related to Saxon - Bug #2486: Using -catalog with .NET command lineClosedO'Neil Delpratt2015-10-25

Actions
Actions #1

Updated by O'Neil Delpratt almost 8 years ago

  • Related to Bug #2486: Using -catalog with .NET command line added
Actions #2

Updated by O'Neil Delpratt almost 8 years ago

  • Fix Committed on Branch 9.6, 9.7, 9.8 added

Bug fixed and committed to subversion.

Actions #3

Updated by O'Neil Delpratt almost 8 years ago

  • Category set to .NET API
  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by O'Neil Delpratt almost 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.

Actions #5

Updated by O'Neil Delpratt almost 8 years ago

  • Sprint/Milestone set to 9.7.0.5
Actions #6

Updated by O'Neil Delpratt almost 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.

Actions #7

Updated by O'Neil Delpratt almost 8 years ago

  • Fixed in Maintenance Release 9.7.0.5 added
Actions #8

Updated by O'Neil Delpratt almost 7 years ago

  • Applies to branch trunk added
  • Applies to branch deleted (9.8)
Actions #9

Updated by O'Neil Delpratt almost 7 years ago

  • Fix Committed on Branch trunk added
  • Fix Committed on Branch deleted (9.8)

Please register to edit this issue

Also available in: Atom PDF