Fixed in Maintenance Release:
One of our auto tests throws a NPE in the Saxon EE class SchemaReader, probably because a certain import is not properly resolved through the XML catalog, maybe this situation could be handled in the Saxon code by throwing some other exception.
More details about the NPE: java.lang.NullPointerException: Cannot invoke "javax.xml.transform.Source.getSystemId()" because "source" is null
The NPE is caused by my mistake in implementing the API, on the "net.sf.saxon.lib.SchemaURIResolver.resolve(String, String, String)" implementation on my side there was a case when I returned a String containing a null inside it.
- Tracker changed from Bug to Support
- Status changed from New to Closed
- Assignee set to Michael Kay
Closing this as a user error; if callback code returns an array that includes a null value, then I think throwing an NPE is reasonable.
Please register to edit this issue
Also available in: Atom