yesamer opened a new issue, #1018:
URL: https://github.com/apache/incubator-kie-issues/issues/1018

   if the `itemDefinition` does not contain the id attribute, it is not 
correctly shown/managed in the editor
   
   
![Unknown](https://github.com/apache/incubator-kie-issues/assets/16005046/d32d6dfd-e9cc-48ae-b358-4e2453a17d35)
   
   
![Unknown-2](https://github.com/apache/incubator-kie-issues/assets/16005046/755e7a5f-adcc-497b-90ce-e05f6954ddf3)
   
   From above, it seems optional, so editor should be able to work without it 
(being a namedElement, editor should rely on required “name” attribute)
   
   tItemDefinition → tNamedElement → tDMNElement
   
   
[XSD](https://github.com/apache/incubator-kie-drools/blob/4004fe9bf745c5eae18223cd1d3a42d8efd4566e/kie-dmn/kie-dmn-validation/src/main/resources/org/kie/dmn/validation/org/omg/spec/DMN/20230324/DMN15.xsd)
 excerpt
   
   ```
   <xsd:complexType name="tItemDefinition">
        <xsd:complexContent>
                <xsd:extension base="tNamedElement">
   ...
   <xsd:complexType name="tNamedElement">
                <xsd:complexContent>
                        <xsd:extension base="tDMNElement">
                 <xsd:attribute name="name" type="xsd:string" use="required"/>
   ...
   <xsd:complexType name="tDMNElement">
        ...
        <xsd:attribute name="id" type="xsd:ID" use="optional"/>
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to