Project

Profile

Help

Bug #1966

closed

ClassNotFoundException: net.sf.saxon.lib.StAXHandler

Added by Michael Kay over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
JAXP Java API
Sprint/Milestone:
-
Start date:
2013-12-23
Due date:
% Done:

100%

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

Description

See message on saxon-help list today.

Iniitial investigation:

The reference to a separate JAR file for StAX in the 9.4 change history appears spurious. It seems the strategy was probably changed before release, and the change list was not corrected to match.

What the code is actually trying to do is to dynamically load the code module that references StAXResult, so that no failure occurs if StAXResult is not on the classpath. But it is loading it by the wrong name, specifically net.sf.saxon.lib.StAXHandler rather than net.sf.saxon.lib.StAXResultHandlerImpl.

There's a surprising absence of tests in this area...

Please register to edit this issue

Also available in: Atom PDF