[jboss-jira] [JBoss JIRA] (DROOLS-3997) [DMN Designer] Included Model Name marshalling issues depending on imported model name

Michael Anstis (Jira) issues at jboss.org
Fri May 17 05:06:01 EDT 2019


    [ https://issues.jboss.org/browse/DROOLS-3997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13734762#comment-13734762 ] 

Michael Anstis commented on DROOLS-3997:
----------------------------------------

[~dadossan] I don't know the details of this JIRA but I assume the _alias_ given for the import is used in the namespace declaration?

If this is true; then I think we simply need to add validation of the alias to exclude spaces; or more strictly adhere to the W3 definition of a namespace [prefix|https://www.w3.org/TR/xml-names/#NT-Prefix]. You can follow the links to {{[NCName|https://www.w3.org/TR/xml-names/#NT-NCName]}} to find the characters permitted. You might be able to find a [regex|https://stackoverflow.com/questions/2519845/how-to-check-if-string-is-a-valid-xml-element-name/15188815#15188815] to perform the validation!

> [DMN Designer] Included Model Name marshalling issues depending on imported model name
> --------------------------------------------------------------------------------------
>
>                 Key: DROOLS-3997
>                 URL: https://issues.jboss.org/browse/DROOLS-3997
>             Project: Drools
>          Issue Type: Bug
>          Components: DMN Editor
>    Affects Versions: 7.22.0.Final
>            Reporter: Jozef Marko
>            Assignee: Daniel José dos Santos
>            Priority: Major
>              Labels: drools-tools
>         Attachments: Screenshot from 2019-05-10 08-20-54.png, Screenshot from 2019-05-10 08-28-42.png
>
>
> There is issue in marshalling, if the included model name contains *whitespace* character. In such case xml editor is opened instead of the dmn editor. See the attached picture and steps to reproduce for more details.
> Issue spotted during review of DROOLS-3720 and DROOLS-3721. However it is probably not related.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)



More information about the jboss-jira mailing list