ExtensibleXmlParser error : cvc-complex-type.4: Attribute 'scriptFormat' must appear on element 'drools:onEntry-script' in BPM Suite

Solution Verified - Updated -

Issue

The following error message shows in the kie logs:

ERROR ExtensibleXmlParser:666 - (null: 18, 32): cvc-complex-type.4: Attribute 'scriptFormat' must appear on element 'drools:onEntry-script'.

when executing the following code:

     KieServices ks = KieServices.Factory.get();
     KieContainer kContainer = ks.getKieClasspathContainer();
     kSession = kContainer.newKieSession("my-process");
     kBase = kContainer.getKieBase();
     kSession.startProcess("myprocess_name");

Environment

  • JBoss BPM Suite 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content