W3C home > Mailing lists > Public > xproc-dev@w3.org > January 2011

Re: p:document-template in Calabash: bug?

From: Florent Georges <fgeorges@fgeorges.org>
Date: Sat, 8 Jan 2011 17:49:45 +0100
Message-ID: <AANLkTinnN60nSqgoGXnsXYE94xue1wqXBEEMBHJ2nTqR@mail.gmail.com>
To: Norman Walsh <ndw@nwalsh.com>
Cc: XProc Dev <xproc-dev@w3.org>
On 20 December 2010 22:33, Norman Walsh wrote:


> I just rewrote that code to support the current semantics for
> { and }.  Hopefully I fixed that :-)

  I confirm this is fixed in the latest version (0.9.30).  But
while confirming this, I found another bug.  If you add a comment
after the root element of the template port, which contains an
expression enclosed in { and }, it generates a Null Pointer
Exception.  Full repro (I only added the comment):

    <p:declare-step xmlns:p="http://www.w3.org/ns/xproc"
       <p:output port="result"/>
          <p:input port="template">
                <c:data>before { $val } after</c:data>
                <!-- { $val } -->
          <p:input port="source">
          <p:with-param name="val" select="'xyz'"/>

  Hope that helps.  Regards,

Florent Georges
Received on Saturday, 8 January 2011 16:50:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:08 UTC