[jboss-jira] [JBoss JIRA] (DROOLS-1429) Validate DMN model `name` attributes to be valid FEEL name definition

Matteo Mortari (JIRA) issues at jboss.org
Wed Feb 8 09:25:00 EST 2017


Matteo Mortari created DROOLS-1429:
--------------------------------------

             Summary: Validate DMN model `name` attributes to be valid FEEL name definition
                 Key: DROOLS-1429
                 URL: https://issues.jboss.org/browse/DROOLS-1429
             Project: Drools
          Issue Type: Enhancement
          Components: dmn engine
            Reporter: Matteo Mortari
            Assignee: Matteo Mortari


The following xml example provide a case where the _decision_ name is not valid from a FEEL name definition perspective

{code:xml}
<definitions id="INVALID_NAME" name="INVALID_NAME" ...>
    <decision name="code in list of codes" id="d_GreetingMessage">
        <variable name="Greeting Message" typeRef="feel:string"/>
        <informationRequirement>
            <requiredInput href="#i_FullName"/>
        </informationRequirement>
        <literalExpression>
            <text>"Hello " + Full Name</text>
        </literalExpression>
    </decision>
    <inputData name="Full Name" id="i_FullName">
        <variable name="Full Name" typeRef="feel:string"/>
    </inputData>
</definitions>
{code}

and this case should be covered by the DMN Validation



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list