Project

Profile

Help

Bug #2540

closed

Unwanted warning with JAXBSource

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

Status:
Closed
Priority:
Normal
Category:
Internals
Sprint/Milestone:
Start date:
2015-12-15
Due date:
% Done:

100%

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

Description

Reported by user on forum post. See: #6244:

I am using a JAXBSource as the input for a transform and get the following message:

Selected XML parser javax.xml.bind.util.JAXBSource$1 does not recognize the feature http://xml.org/sax/features/validation

The fix was to remove the default of adding and setting the feature http://xml.org/sax/features/validation to false in the case where the user has not indicated validation on or off. The likelihood is the execution will fail if validation is not available.

Bug fixed in the class ParseOption class.


Related issues

Related to Saxon - Bug #2551: Reused source parser may be configured incorrectlyClosedMichael Kay2015-12-17

Actions

Please register to edit this issue

Also available in: Atom PDF