-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
None
-
None
-
2018 Week 13-14
-
NEW
-
NEW
Given the attached model and the following test
@Test public void testTEMP() { List<DMNMessage> validate = validator.validate(getReader("UsingSemanticNS.dmn"), VALIDATE_SCHEMA, VALIDATE_MODEL, VALIDATE_COMPILATION); assertThat(ValidatorUtil.formatMessages(validate), validate.size(), is(0)); }
fails with:
java.lang.AssertionError: DMNMessage{ severity=ERROR, type=FAILED_XML_VALIDATION, message='Failed XML validation of DMN file: cvc-elt.1: Cannot find the declaration of element 'semantic:definitions'.', sourceId='null', exception='SAXParseException : cvc-elt.1: Cannot find the declaration of element 'semantic:definitions'.', feelEvent=''} Expected: is <0> but: was <1> at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) at org.junit.Assert.assertThat(Assert.java:956) at org.kie.dmn.validation.ValidatorTest.testTEMP(ValidatorTest.java:92) ...
- is related to
-
DROOLS-2447 Validator for schema to provide an embed version of the DMN XSD
-
- Closed
-
-
DROOLS-2448 Validator for schema to provide an embed version of the DMN XSD
-
- Closed
-