bpmn-io/dmn-moddle

DMNStyle is unrecognized

開放

#26 建立於 2022年4月5日

 (2 則留言) (0 個反應) (0 位負責人)JavaScript (3 個分叉)auto 404
backlogbuggood first issuemiwgspring cleaning

倉庫指標

星標
 (14 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Describe the Bug

When I import a diagram with DMNStyle, I get a warning:

[diagram_1.dmn] unparsable content <dmndi:DMNStyle> detected
	line: 15
	column: 8
	nested error: unrecognized element <dmndi:DMNStyle> [ warning ]

Diagram: dmn.txt

The bug is probably derived from the dmndi.xmi which specifies styles as isDerived=true which causes our parser to mark them as isVirtual=true in our toolkit. I don't see a reason why the XMI specifies styles as a derived attribute.

Steps to Reproduce

Open attached diagram in Camunda Modeler.

Expected Behavior

Style is accepted.

Environment

  • Host (Browser/Node version), if applicable: [e.g. MS Edge 18, Chrome 69, Node 10 LTS]
  • OS: [e.g. Windows 7]
  • Library version: [e.g. 2.0.0]

貢獻者指南