[
https://issues.jboss.org/browse/DROOLS-2578?page=com.atlassian.jira.plugi...
]
Matteo Mortari commented on DROOLS-2578:
----------------------------------------
[~manstis] so to double-check, this task requires any converters which takes a
kie-dmn-model anemic pojo converting to a WB DMN pojo which extends
org.kie.workbench.common.dmn.api.definition.v1_1.DMNModelInstrumentedBase to set its
parent. Correct?
I will do it although likely there will be less of a need for this namespace scope
resolution when dealing with DMN v1.2 (as the prefix: is no longer supported for xml
namespaces ;) ) I will keep posted as I progress.
[DMN Designer] Add use of
'DMNModelInstrumentedBase.setParent(..)' to marshaller
--------------------------------------------------------------------------------
Key: DROOLS-2578
URL:
https://issues.jboss.org/browse/DROOLS-2578
Project: Drools
Issue Type: Sub-task
Components: DMN Editor
Reporter: Michael Anstis
Assignee: Matteo Mortari
Priority: Critical
In order to correctly handle QName prefix resolution I have added
{{DMNModelInstrumentedBase.getPrefixForNamespaceURI(..)}} to the UI model. I will add
support for setting it appropriately as the User authors a DMN model in the UI (i.e. to
new elements as and when created) however the marshaller will need to set it accordingly
when going from KIE-DMN-model to UI-DMN-model too; so existing diagrams have the parental
hierarchy correctly set.
This depends on
https://github.com/kiegroup/kie-wb-common/pull/1818 being merged.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)