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

RNC sync

From: Innovimax SARL <innovimax@gmail.com>
Date: Tue, 28 Nov 2006 21:38:13 +0100
Message-ID: <546c6c1c0611281238pe78c15fh72d840b89b8dccc0@mail.gmail.com>
To: "Norman Walsh" <Norman.Walsh@sun.com>
Cc: public-xml-processing-model-wg@w3.org
Dear,

Some modification on the rnc schema

Adding Try/Catch construct
Changing attribute @component in step to @type
removing empty definition in step
precising _any.attr to not include current namespace and local
keeping extended attributes in _any
adding a test.attr as xpath.expr
correcting definition of match to match match instead of select

moreover now that in/output have @port
the exemple in annexe is false

and should become

<p:pipeline name="fig2"
    xmlns:p="http://www.w3.org/2006/11/pipeline">
    <p:input port="source" sequence="no"/>
    <p:output port="result" step="xform" source="result"/>

    <p:choose name="vcheck" step="fig2" source="doc">
        <p:when test="/*[@version &lt; 2.0]">
            <p:output port="valid" step="val1" source="result"/>
            <p:step type="p:validate" name="val1">
                <p:input port="source" step="fig2" source="source"/>
                <p:input port="schema" href="v1schema.xsd"/>
            </p:step>
        </p:when>

        <p:otherwise>
            <p:output port="valid" step="val2" source="result"/>
            <p:step type="p:validate" name="val2">
                <p:input port="source" step="fig2" source="source"/>
                <p:input port="schema" href="v2schema.xsd"/>
            </p:step>
        </p:otherwise>
    </p:choose>

    <p:step type="p:xslt" name="xform">
        <p:input port="source" step="vcheck" source="valid"/>
        <p:input port="stylesheet" href="stylesheet.xsl"/>
    </p:step>
</p:pipeline>



Regards

Mohamed
-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 8 72 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 


Received on Tuesday, 28 November 2006 20:38:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:49 GMT