Issue 58 in xspec: result-documents inside of a template cause an error

17 views
Skip to first unread message

xs...@googlecode.com

unread,
Jul 14, 2013, 8:43:19 PM7/14/13
to xspe...@googlegroups.com
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

xs...@googlecode.com

unread,
Jul 15, 2013, 11:57:45 AM7/15/13
to xspe...@googlegroups.com
Updates:
Owner: fgeor...@gmail.com

Comment #1 on issue 58 by fgeor...@gmail.com: result-documents inside of a
Are you trying to test the content of the generated result document, or are
you trying to test the result of the transformation itself?

xs...@googlecode.com

unread,
Jul 15, 2013, 7:20:34 PM7/15/13
to xspe...@googlegroups.com

Comment #2 on issue 58 by hina...@allette.com.au: result-documents inside
I am trying to test the result of the transformation

xs...@googlecode.com

unread,
Jul 17, 2013, 12:44:13 AM7/17/13
to xspe...@googlegroups.com

Comment #3 on issue 58 by hina...@allette.com.au: result-documents inside
I am trying to test the result of the transformation ( which includes
result documents).
Reply all
Reply to author
Forward
0 new messages