Constant dmntk_examples::DMN_3_0030

source ·
pub const DMN_3_0030: &str = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<definitions namespace=\"https://github.com/dmn-tck/tck\"\n             name=\"0030-user-defined-functions\"\n             id=\"_3cc4a1ee-68b8-4fc3-b686-e690f8fa7dcc\"\n             xmlns=\"https://www.omg.org/spec/DMN/20191111/MODEL/\"\n             xmlns:di=\"http://www.omg.org/spec/DMN/20180521/DI/\"\n             xmlns:dmndi=\"https://www.omg.org/spec/DMN/20191111/DMNDI/\"\n             xmlns:dc=\"http://www.omg.org/spec/DMN/20180521/DC/\">\n    <description>Tests definition of functions in a boxed expression and invocation of those.</description>\n    <decision name=\"simple function invocation\" id=\"_WdFa8IDoEee-MeWXoLgrYg\">\n        <variable typeRef=\"string\" name=\"simple function invocation\" id=\"_0zDvUYDyEeehqsf_bU54Lw\"/>\n        <informationRequirement id=\"e1fa4ee4-8ab5-4dfd-96a0-74cbd60d34f2\">\n            <requiredInput href=\"#_Aq8u4IDpEee-MeWXoLgrYg\"/>\n        </informationRequirement>\n        <informationRequirement id=\"_80651cb0-93f7-44bd-b3b5-a7a2b52193c7\">\n            <requiredInput href=\"#_vfL7kIDqEeehqsf_bU54Lw\"/>\n        </informationRequirement>\n        <context id=\"_eQfF0IDoEee-MeWXoLgrYg\">\n            <contextEntry>\n                <variable name=\"boxedFnDefinition\" typeRef=\"string\" id=\"_eSTqx4DoEee-MeWXoLgrYg\"/>\n                <functionDefinition id=\"_e0S9gIDoEee-MeWXoLgrYg\">\n                    <formalParameter typeRef=\"string\" name=\"a\" id=\"_htc78IDoEee-MeWXoLgrYg\"/>\n                    <formalParameter typeRef=\"string\" name=\"b\" id=\"_a6M_IIDrEeehqsf_bU54Lw\"/>\n                    <literalExpression id=\"_e4IUpYDoEee-MeWXoLgrYg\">\n                        <text>a+b</text>\n                    </literalExpression>\n                </functionDefinition>\n            </contextEntry>\n            <contextEntry>\n                <variable name=\"literalFnDefinition\" typeRef=\"string\" id=\"_nsnCAIDoEee-MeWXoLgrYg\"/>\n                <literalExpression id=\"_nsnCAYDoEee-MeWXoLgrYg\">\n                    <text>function(a,b) a + b</text>\n                </literalExpression>\n            </contextEntry>\n            <contextEntry>\n                <literalExpression typeRef=\"string\" id=\"_zTaGAIDoEee-MeWXoLgrYg\">\n                    <text>boxedFnDefinition(stringInputA, stringInputB) + literalFnDefinition(stringInputA, stringInputB)</text>\n                </literalExpression>\n            </contextEntry>\n        </context>\n    </decision>\n    <decision name=\"named function invocation\" id=\"_GNiCIIDzEeehqsf_bU54Lw\">\n        <variable typeRef=\"string\" name=\"named function invocation\" id=\"_eJrSMYDzEeehqsf_bU54Lw\"/>\n        <informationRequirement id=\"_22db6269-f1f9-47c7-ad84-00274956556c\">\n            <requiredInput href=\"#_vfL7kIDqEeehqsf_bU54Lw\"/>\n        </informationRequirement>\n        <informationRequirement id=\"e61c8236-e671-4ced-a93a-994e3b318364\">\n            <requiredInput href=\"#_Aq8u4IDpEee-MeWXoLgrYg\"/>\n        </informationRequirement>\n        <context id=\"_HeJ8gYDzEeehqsf_bU54Lw\">\n            <contextEntry>\n                <variable name=\"boxedFnDefinition\" typeRef=\"string\" id=\"_HeJ8g4DzEeehqsf_bU54Lw\"/>\n                <functionDefinition id=\"_HeKjkYDzEeehqsf_bU54Lw\">\n                    <formalParameter typeRef=\"string\" name=\"a\" id=\"_HeKjk4DzEeehqsf_bU54Lw\"/>\n                    <formalParameter typeRef=\"string\" name=\"b\" id=\"_HeKjlYDzEeehqsf_bU54Lw\"/>\n                    <literalExpression id=\"_HeKjl4DzEeehqsf_bU54Lw\">\n                        <text>a+b</text>\n                    </literalExpression>\n                </functionDefinition>\n            </contextEntry>\n            <contextEntry>\n                <variable name=\"literalFnDefinition\" typeRef=\"string\" id=\"_HeKjmYDzEeehqsf_bU54Lw\"/>\n                <literalExpression id=\"_HeKjm4DzEeehqsf_bU54Lw\">\n                    <text>function(a,b) a + b</text>\n                </literalExpression>\n            </contextEntry>\n            <contextEntry>\n                <literalExpression typeRef=\"string\" id=\"_HeKjnYDzEeehqsf_bU54Lw\">\n                    <text>boxedFnDefinition(b:stringInputA, a:stringInputB) + literalFnDefinition(b:stringInputA, a:stringInputB)</text>\n                </literalExpression>\n            </contextEntry>\n        </context>\n    </decision>\n    <inputData name=\"stringInputA\" id=\"_Aq8u4IDpEee-MeWXoLgrYg\">\n        <variable typeRef=\"string\" name=\"stringInputA\" id=\"_wKKRkYDyEeehqsf_bU54Lw\"/>\n    </inputData>\n    <inputData name=\"stringInputB\" id=\"_vfL7kIDqEeehqsf_bU54Lw\">\n        <variable typeRef=\"string\" name=\"stringInputB\" id=\"_xZw4QYDyEeehqsf_bU54Lw\"/>\n    </inputData>\n    <dmndi:DMNDI>\n        <dmndi:DMNDiagram id=\"_pKGjoH6LEeePe9Zmt-encA_D1\">\n            <dmndi:Size height=\"650.0\" width=\"668.0\"/>\n            <dmndi:DMNShape dmnElementRef=\"_WdFa8IDoEee-MeWXoLgrYg\" id=\"_pKGjoH6LEeePe9Zmt-encA_s1\">\n                <dc:Bounds height=\"61.0\" width=\"154.0\" x=\"364.0\" y=\"150.0\"/>\n            </dmndi:DMNShape>\n            <dmndi:DMNShape dmnElementRef=\"_GNiCIIDzEeehqsf_bU54Lw\" id=\"_pKGjoH6LEeePe9Zmt-encA_s2\">\n                <dc:Bounds height=\"61.0\" width=\"154.0\" x=\"150.0\" y=\"150.0\"/>\n            </dmndi:DMNShape>\n            <dmndi:DMNShape dmnElementRef=\"_Aq8u4IDpEee-MeWXoLgrYg\" id=\"_pKGjoH6LEeePe9Zmt-encA_s3\">\n                <dc:Bounds height=\"60.0\" width=\"153.0\" x=\"151.0\" y=\"331.0\"/>\n            </dmndi:DMNShape>\n            <dmndi:DMNShape dmnElementRef=\"_vfL7kIDqEeehqsf_bU54Lw\" id=\"_pKGjoH6LEeePe9Zmt-encA_s4\">\n                <dc:Bounds height=\"60.0\" width=\"153.0\" x=\"364.0\" y=\"331.0\"/>\n            </dmndi:DMNShape>\n            <dmndi:DMNEdge dmnElementRef=\"e1fa4ee4-8ab5-4dfd-96a0-74cbd60d34f2\" id=\"_pKGjoH6LEeePe9Zmt-encA_e1\">\n                <di:waypoint x=\"227.0\" y=\"331.0\"/>\n                <di:waypoint x=\"441.0\" y=\"211.0\"/>\n            </dmndi:DMNEdge>\n            <dmndi:DMNEdge dmnElementRef=\"_80651cb0-93f7-44bd-b3b5-a7a2b52193c7\" id=\"_pKGjoH6LEeePe9Zmt-encA_e2\">\n                <di:waypoint x=\"440.0\" y=\"331.0\"/>\n                <di:waypoint x=\"441.0\" y=\"211.0\"/>\n            </dmndi:DMNEdge>\n            <dmndi:DMNEdge dmnElementRef=\"_22db6269-f1f9-47c7-ad84-00274956556c\" id=\"_pKGjoH6LEeePe9Zmt-encA_e3\">\n                <di:waypoint x=\"440.0\" y=\"331.0\"/>\n                <di:waypoint x=\"227.0\" y=\"211.0\"/>\n            </dmndi:DMNEdge>\n            <dmndi:DMNEdge dmnElementRef=\"e61c8236-e671-4ced-a93a-994e3b318364\" id=\"_pKGjoH6LEeePe9Zmt-encA_e4\">\n                <di:waypoint x=\"227.0\" y=\"331.0\"/>\n                <di:waypoint x=\"227.0\" y=\"211.0\"/>\n            </dmndi:DMNEdge>\n        </dmndi:DMNDiagram>\n    </dmndi:DMNDI>\n</definitions>";