Actions
Bug #5595
closed![Author: Radu Coravu](https://www.gravatar.com/avatar/765896f3e900dbcce565dbf8425cc7e7?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
Saxon 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