Actions
Support #3618
closedSchema aware warning not presented if I validate with Saxon 9.8.0.7
Start date:
2018-01-12
Due date:
% Done:
0%
Estimated time:
Legacy ID:
Applies to branch:
9.8
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:
Description
If I validate the following XSL with Saxon 9.7.0.19 I get an warning
"SXWN9000: The complex type of element person does not allow a child element named c"
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
exclude-result-prefixes="xs"
version="2.0">
<xsl:import-schema schema-location="personal.xsd"></xsl:import-schema>
<xsl:template match="schema-element(person)">
<xsl:variable name="v" as="xs:string?" select="c"/>
<xsl:value-of select="$v"/>
</xsl:template>
</xsl:stylesheet>
This warning is not presented anymore if I validate with Saxon 9.8.0.7
Files
Please register to edit this issue
Actions