Empty name and typeref Attributes Persist in XML for Single Output Decision Table #936
Labels
backlog
Queued in backlog
bug
Something isn't working
Decision Table
DMN support
spring cleaning
Could be cleaned up one day
Description
According to the DMN 1.3 specification, when a single output decision table is used, the
name
andtyperef
attributes should not be present in the XML representation of the DMN model. However, in dmn-js, when we remove the name and type reference from the decision table output column in the editor, the resulting XML still contains emptyname
andtyperef
attributes in the<output>
element.This leads to validation issues because Drools interprets these empty attributes as still being explicitly set, which is non-compliant with the DMN 1.3 specification.
Steps to Reproduce
<output>
element.<output name="" typeref="" />
still appears in the XML.Expected Behavior
Actual Behavior
name="" typeref=""
), causing validation errors in Drools.Environment
The text was updated successfully, but these errors were encountered: