Option declaration 027

Checks XS0107 (invalid xpath expression) is raised even if option value is provided. See Issue #506

Test ab-option-027.xml is expected to fail with error code err:XS0107.

The pipeline

      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
            <p:output port="result"/>
            <p:option name="option" select="known-xpath-function()"/>
                    <doc xmlns="">{$option}</doc>
MorganaXProc passing XML Calabash passing



select = 'a value'

Revision history

26 Jan 2019, Achim Berndzen

Changed error code from XS0071 to XS0107.

22 Aug 2018 16:48, Achim Berndzen

New tests and some previous texts adapted to recent development

18 Mar 2018 07:41, Achim Berndzen

New tests. Some tests changed to new order in p:pipe