[jboss-jira] [JBoss JIRA] (DROOLS-5229) DMNValidate mojo fails XMLSchema validation with included models

Guilherme Gomes (Jira) issues at jboss.org
Thu Apr 9 09:19:01 EDT 2020


     [ https://issues.redhat.com/browse/DROOLS-5229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guilherme Gomes updated DROOLS-5229:
------------------------------------
    Priority: Major  (was: Minor)


> DMNValidate mojo fails XMLSchema validation with included models
> ----------------------------------------------------------------
>
>                 Key: DROOLS-5229
>                 URL: https://issues.redhat.com/browse/DROOLS-5229
>             Project: Drools
>          Issue Type: Bug
>    Affects Versions: 7.34.0.Final
>            Reporter: Tracy Hires
>            Assignee: Guilherme Gomes
>            Priority: Major
>         Attachments: ValidateDMN Mojo Failure.png, xml_validation_error.zip
>
>
> The attached DMN decision project was built using Business Central 7.34.0.Final.  In this project, the dmn model `Math Functions.dmn` invokes business knowledge model `Quotient` from dmn model `Divide.dmn`. Invoking the ValidateDMN mojo (enabled by default) from the kie-maven-plugin fails XML Validation. One can get past this error by disabling DMNValidation with the following configuration in the pom (though disabling DMNValidation for an XML Schema validation also prevents finding FEEL parser errors):
> ```
>   <build>
>     <plugins>
>       <plugin>
>         <groupId>org.kie</groupId>
>         <artifactId>kie-maven-plugin</artifactId>
>         <version>7.34.0.Final</version>
>         <extensions>true</extensions>
>         <!-- Can get past xml validation error by disabling the ValidateDMN Mojo -->
>         <configuration>
>           <validateDMN>disabled</validateDMN>
>         </configuration>
>       </plugin>
>     </plugins>
>   </build>
> ```
> When one combines the two dmn models into a single model, the XML Validation succeeds (this example is not supplied, but is trivial to re-build).



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list