Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-4557

Missing semantic validation of DMN file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • DMN Editor
    • None
    • NEW
    • NEW

      If a semantically wrong file is parsed by the marshaller, exception may be thrown but they are not meaningfull.
      As example, the attached file raise a NPE at DMNMarshallerStandalone because at this line

      Node sourceNode = Optional.ofNullable(elems.get(sourceId)).map(Entry::getValue).orElse(textAnnotations.get(sourceId));
      

      elements is empty.

      So, even if the file is syntactically correct, it is semantically wrong; but this semantic check seems not implemented.

      `

              yamer@redhat.com Yeser Amer
              gcardosi Gabriele Cardosi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: