JBoss Community

Re: Event Based Gateway Split - xml parsing error

created by Tobias Wittur in jBPM - View the full discussion

How exactly would I switch the schema validation off?

 

This is how I init my process. Do I have to manipulate the ResourceFactory ?

 

 

KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();

kbuilder.add(ResourceFactory.newClassPathResource(

"com/apollo/apollo.bpmn2"), ResourceType.BPMN2

);

kbuilder.add(ResourceFactory.newClassPathResource(

"com/apollo/BPMN2-RuleTask.drl"), ResourceType.DRL

);

KnowledgeBase kbase = kbuilder.newKnowledgeBase();

 

StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();



Reply to this message by going to Community

Start a new discussion in jBPM at Community