is not a valid value for 'NCName'. (DMN model failed XML schema validation) ]

459 views
Skip to first unread message

Kunal Kishan

unread,
Sep 25, 2022, 4:40:12 PM9/25/22
to Kogito development mailing list
Step 1  Create a DMN on Business Central (7.60 FINAL)
Step 2   Download it
Step 3   Build the DMN  using pom supplied

Sometimes throws this error ::

INFO] Will validate DMN model: /home/kunal/perfios/code/lsp-bridge-rules/src/main/resources/UBILeadFiltering.dmn
[INFO] Will validate DMN model: /home/kunal/perfios/code/lsp-bridge-rules/src/main/resources/dataEnrichment.dmn
[DEBUG] Message [id=0, level=ERROR, path=null, line=0, column=0
   text=DMN: Failed XML validation of DMN file: cvc-datatype-valid.1.2.1: '_2FC150D5-A90D-4CF1-AA1B-0BDB8C0BE2E0#_3DCE62FF-6A89-4225-A3F6-AE3793522866' is not a valid value for 'NCName'. (DMN model failed XML schema validation) ]
pom.xml

Kunal Kishan

unread,
Sep 25, 2022, 4:40:56 PM9/25/22
to Kogito development mailing list
Build the *kjar

Jozef Marko

unread,
Sep 26, 2022, 12:39:31 AM9/26/22
to kogito-de...@googlegroups.com
Hello Kunal, would it be possible to share also a DMN file you created and is causing this issue?

--
You received this message because you are subscribed to the Google Groups "Kogito development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kogito-developm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kogito-development/9599bee3-3be4-4217-8c0a-888941f58c8en%40googlegroups.com.


--
Regards, Jozef
RHBA Quality Engineer

Kunal

unread,
Sep 30, 2022, 12:43:23 AM9/30/22
to kogito-de...@googlegroups.com
Business Central - Version 7.60 FINAL
Step 1: Create a DMN on Business Central
Step 2 : Download it and build the kjar -- attaching pom.xml

Attaching the DMN

Error ::

[ERROR] One of the supplied DMN Models has failed validation; cannot proceed to validation of the remaining DMN Models.
[ERROR] DMN: Failed XML validation of DMN file: cvc-datatype-valid.1.2.1: '_288896E9-A795-4CCF-A759-3385C6F9FCDC#_1A25032D-A4C2-4763-B074-FB9569839C5A' is not a valid value for 'NCName'. (DMN model failed XML schema validation)
[ERROR] DMN: One of the supplied DMN Models has failed validation; cannot proceed to validation of the remaining DMN Models. (DMN Validation stopped on failed validation for some DMN Model)





You received this message because you are subscribed to a topic in the Google Groups "Kogito development mailing list" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kogito-development/H-aLLSZmbhU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kogito-developm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kogito-development/CAHZQSvp1Ss6d_QEYSC%3DCB2cQwYLjqXKyvUFRA5WQcoqjK6C4_g%40mail.gmail.com.


--
Regards,
Kunal
UBIGenerateOffers (2).dmn
pom.xml

Kunal

unread,
Sep 30, 2022, 1:00:36 AM9/30/22
to kogito-de...@googlegroups.com
Attaching complete Stack trace ::


[INFO] DMNValidator initialized.
[INFO] Will validate DMN model: /home/kunal/perfios/code/lsp-bridge-rules/src/main/resources/UBILeadFiltering.dmn
[INFO] Will validate DMN model: /home/kunal/perfios/code/lsp-bridge-rules/src/main/resources/UBIGenerateOffers.dmn
[DEBUG] Tried to convert the extension element child ComponentsWidthsExtension, but no converter is registered for this child.

[DEBUG] Message [id=0, level=ERROR, path=null, line=0, column=0
   text=DMN: Failed XML validation of DMN file: cvc-datatype-valid.1.2.1: '_288896E9-A795-4CCF-A759-3385C6F9FCDC#_1A25032D-A4C2-4763-B074-FB9569839C5A' is not a valid value for 'NCName'. (DMN model failed XML schema validation) ]
[DEBUG] Tried to convert the extension element child ComponentsWidthsExtension, but no converter is registered for this child.

[ERROR] One of the supplied DMN Models has failed validation; cannot proceed to validation of the remaining DMN Models.
[ERROR] DMN: Failed XML validation of DMN file: cvc-datatype-valid.1.2.1: '_288896E9-A795-4CCF-A759-3385C6F9FCDC#_1A25032D-A4C2-4763-B074-FB9569839C5A' is not a valid value for 'NCName'. (DMN model failed XML schema validation)
[ERROR] DMN: One of the supplied DMN Models has failed validation; cannot proceed to validation of the remaining DMN Models. (DMN Validation stopped on failed validation for some DMN Model)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.353 s
[INFO] Finished at: 2022-09-30T10:13:30+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.51.0.Final:validateDMN (default-validateDMN) on project ubi: There are DMN Validation Error(s). -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.kie:kie-maven-plugin:7.51.0.Final:validateDMN (default-validateDMN) on project ubi: There are DMN Validation Error(s).
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.MojoFailureException: There are DMN Validation Error(s).
    at org.kie.maven.plugin.ValidateDMNMojo.execute (ValidateDMNMojo.java:85)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
--
Regards,
Kunal
Reply all
Reply to author
Forward
0 new messages