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

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

From: <vojtech.toman@emc.com>
Date: Thu, 13 Jan 2011 05:44:16 -0500
To: <xproc-dev@w3.org>
Message-ID: <3799D0FD120AD940B731A37E36DAF3FE32B140BFFA@MX20A.corp.emc.com>
> Florent Georges <fgeorges@fgeorges.org> writes:
> >   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):
> 
> Good catch. I was expecting the interpolated content to have an element
> ancestor and comments (or PIs) that are siblings to the document
> element don't have one.
> 
> Fixed for the next release which I'll make asap.
>

...and the pipeline added to the test suite:

http://tests.xproc.org/tests/optional/document-template-018.xml

Regards,
Vojtech


--
Vojtech Toman
Consultant Software Engineer
EMC | Information Intelligence Group
vojtech.toman@emc.com
http://developer.emc.com/xmltech
Received on Thursday, 13 January 2011 10:46:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 13 January 2011 10:46:21 GMT