Actions
Support #5496
closedExplicit document versus implicit document
Start date:
2022-05-18
Due date:
% Done:
0%
Estimated time:
Legacy ID:
Applies to branch:
11
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:
.NET
Description
in this case validation is preserved:
<xsl:mode on-no-match="shallow-copy"/>
<xsl:template match="/">
<xsl:apply-templates select="/newsItem"/>
</xsl:template>
in this case validation is striped:
<xsl:mode on-no-match="shallow-copy"/>
<xsl:template match="/">
<xsl:document>
<xsl:apply-templates select="/newsItem"/>
</xsl:document>
</xsl:template>
In our application we evaluate xpath on transformed document and in the first case it returned error: The supplied node has been schema-validated, but the XPath expression was compiled without schema-awareness but in second case it return success.
Please register to edit this issue
Actions