W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > August 2008

p:option not required without default value

From: Innovimax SARL <innovimax@gmail.com>
Date: Thu, 28 Aug 2008 20:26:43 +0200
Message-ID: <546c6c1c0808281126u2d2e9ac3j873125a967ecc5e8@mail.gmail.com>
To: "XProc WG" <public-xml-processing-model-wg@w3.org>
Dear,

Nothing is said in the spec about what to do if we have the following
pipeline

<p:pipeline xmlns:p="http://www.w3.org/ns/xproc" xmlns:ix="
http://www.innovimax.fr/ns">
    <p:declare-step type="ix:test">
        <p:input port="source"/>
        <p:output port="result"/>
        <p:option name="not-required-no-default"/>
        <p:choose>
            <p:when test="$not-required-no-default">
                <p:identity/>
            </p:when>
            <p:otherwise>
                <p:filter select="/*"/>
            </p:otherwise>
        </p:choose>
    </p:declare-step>
    <ix:test/>
</p:pipeline>

Mohamed

-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 
Received on Thursday, 28 August 2008 18:33:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 28 August 2008 18:33:28 GMT