W3C home > Mailing lists > Public > xproc-dev@w3.org > November 2012

XPath evaluation - bug in Calabash?

From: Romain Deltour <rdeltour@gmail.com>
Date: Mon, 19 Nov 2012 16:08:05 +0100
Message-Id: <1BA2B25A-4B88-43A4-A586-C8A05CD22721@gmail.com>
To: XProc Dev <xproc-dev@w3.org>
The following XProc pipeline raises an err:XD0023 with Calabash:

<?xml version="1.0" encoding="UTF-8"?>
<p:declare-step  xmlns="http://www.w3.org/1999/xhtml" xmlns:p="http://www.w3.org/ns/xproc" version="1.0">
    <p:option name="opt" required="true"/>
    <p:output port="result"/>
    <p:variable name="var" select="concat($opt,' ','world')"/>
    <p:add-attribute match="*" attribute-name="text">
        <p:input port="source">
        <p:with-option name="attribute-value" select="$var"/>

Weirdly enough, it works when I remove the default namespace. I suspect it's a bug, but maybe I'm missing the obvious. Any idea ?

Received on Monday, 19 November 2012 15:08:39 UTC

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