Actions
Bug #5595
closedSaxon 11 - error when using wrapper over ResourceResolverWrappingURIResolver
Status:
Duplicate
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2022-07-08
Due date:
% Done:
0%
Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:
Java
Description
I'm using a ResourceResolverWrappingURIResolver over "org.apache.xml.resolver.tools.CatalogResolver" The method "org.apache.xml.resolver.tools.CatalogResolver.resolve(String, String)" always returns a SaxSource. This makes the Saxon StandardUnparsedTextResolver.resolve(URI, String, Configuration) to break with an error as it only supports StreamSource. I would suggest automatically converting the SaxSource to a StreamSource in the "StandardUnparsedTextResolver.resolve" method to handle such cases.
Related issues
Please register to edit this issue
Actions