Project

Profile

Help

Bug #4668

Message: Provider com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl not found

Added by O'Neil Delpratt 12 months ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Category:
Internals
Sprint/Milestone:
-
Start date:
2020-08-05
Due date:
% Done:

100%

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

Description

The following error message was discovered while testing Saxon 10 .NET with the test case TesUseAssociated:

Message: Provider com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl not found

The problem occurs in the method getPseudoAttribute of the class ProcInstParser.

JAXP API is not available on .NET.

This will also affect Saxon on Java. We shouldn't be calling com.sun.org - Java 9 will also complain about it. We should be using the new method for Java 9 - see JavaPlatform loadParserForXmlFragments() for usage which ProcInstParser should also probably use.

History

#1 Updated by O'Neil Delpratt 12 months ago

  • Status changed from New to In Progress

As suggested in comment #0 I have now changed the code to use the method JavaPlatform.loadParserForXmlFragments()

#2 Updated by O'Neil Delpratt 12 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100
  • Fix Committed on Branch 10 added

Bug fixed and committed to subversion. Ran the testUseAssociated test case successfully on junit and nunit for both Java and .NET respectively.

#3 Updated by O'Neil Delpratt 11 months ago

  • Fixed in Maintenance Release 10.2 added

Bug fix applied in the Saxon 10.2 maintenance release.

#4 Updated by O'Neil Delpratt 11 months ago

  • Status changed from Resolved to Closed

Please register to edit this issue

Also available in: Atom PDF