- From: Florent Georges <fgeorges@fgeorges.org>
- Date: Mon, 20 Dec 2010 02:27:45 +0100
- To: XProc Dev <xproc-dev@w3.org>
Hi,
I am using p:document-template with latest Calabash. I found
an "interesting" behaviour. It seems some text nodes can be
ignored in the template source, when they follow an expression.
The following pipeline, for instance:
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc"
xmlns:c="http://www.w3.org/ns/xproc-step"
version="1.0">
<p:output port="result"/>
<p:document-template>
<p:input port="template">
<p:inline>
<c:data>before { $val } after</c:data>
</p:inline>
</p:input>
<p:input port="source">
<p:empty/>
</p:input>
<p:with-param name="val" select="'xyz'"/>
</p:document-template>
</p:declare-step>
produces the following result:
<c:data>before xyz</c:data>
instead of:
<c:data>before xyz after</c:data>
Regards,
--
Florent Georges
http://fgeorges.org/
Received on Monday, 20 December 2010 01:28:38 UTC