Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2
-
None
Description
In JaxpVariableResolver.getSimpleContent we do some simple type analysis to return a proper java type to Saxon so that it can do at least some minimal type-based operations. The code right now is a but fragile as some of that is in XSTypes.toJavaObject and some of it is then duplicated in getSimpleContent.
All the strictly schema type-base "casting" should happen in XSTypes.toJavaObject and getSimpleContent should only do the conversions that Saxon needs, whichever they are.