Actions
Bug #3628
closedType annotation for a complex type with simple content
Start date:
2018-01-16
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.8, trunk
Fix Committed on Branch:
9.8, trunk
Fixed in Maintenance Release:
Platforms:
Description
When Saxon validates an element against a complex type with simple content (specified in this case using xsl:type on a literal result element), the resulting type annotation is the simple (content) type, not the complex type.
The code in ContentValidator appears to do this quite deliberately, but there doesn't appear to be anything in the specs to justify it.
Raised on the oXygen forum and subsequently on xml-dev.
Please register to edit this issue
Actions