Bug #2540
closedUnwanted warning with JAXBSource
100%
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
Updated by Michael Kay about 9 years ago
- Related to Bug #2551: Reused source parser may be configured incorrectly added
Updated by Michael Kay about 9 years ago
The fix caused regression (on a .NET test but I think it could happen on Java as well - see bug #2551). I have changed it so that (a) the request to switch DTD validation off causes an attempt to set the parser feature http://xml.org/sax/features/validation to false (as happened before), and (b) a failure to switch any parser feature off does not generate a warning - we continue to produce a warning for a failure to switch a feature on.
Updated by O'Neil Delpratt almost 9 years ago
- Fixed in Maintenance Release 9.7.0.2 added
Bug fix applied in the Saxon 9.7.0.2 maintenance release
Updated by O'Neil Delpratt almost 9 years ago
- Fixed in Maintenance Release 9.7.0.3 added
- Fixed in Maintenance Release deleted (
9.7.0.2)
Leave open until fix applied in the 9.6 branch
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.3)
Bug fix applied in the Saxon 9.6.0.9 maintenance release.
Updated by O'Neil Delpratt over 8 years ago
- Sprint/Milestone set to 9.7.0.2
- Fixed in Maintenance Release 9.7.0.2 added
Please register to edit this issue