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

> 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 UTC