Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 58 by
hina...@allette.com.au: result-documents inside of a
template cause an error
http://code.google.com/p/xspec/issues/detail?id=58
What steps will reproduce the problem?
1. I have the following template( simplified..)
<xsl:template match="w:body" mode="content">
<xsl:for-each-group select="*" group-starting-with="w:p">
<xsl:result-document href="$_outputfolder">
</xsl:apply-templates>
</xsl:result-document>
</xsl:for-each-group>
</xsl:template>
2.
I have a scenario that tests the output of this template and the following
error is generated:
XTDE1480: Cannot switch to a final result destination while writing a
temporary tree
[java] at xsl:apply-templates (...)
[java] processing /w:document/w:body[1]
[java] in built-in template rule
[java] at xsl:apply-templates (file:/E:/xspec.xsl#208)
[java] processing /
[java] at xsl:apply-templates (file:/E:/xspec.xsl#208)
[java] processing /
[java] at xsl:call-template name="x:d4e30" (file:/E:/xspec.xsl#49)
3.
What is the expected output? What do you see instead?
The final tree is not terminated, so there is no result
What version of the product are you using? On what operating system?
using 0.4.0rc1
Please provide any additional information below.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings