Tobias Wittur [
http://community.jboss.org/people/tob1as] created the discussion
"How to switch off schema validation ?"
To view the discussion, visit:
http://community.jboss.org/message/627638#627638
--------------------------------------------------------------
Hello,
How exactly would I switch off the BPMN2 schema validation for eclipse?
This is how I init my process. Do I have to manipulate the ResourceFactory somehow?
KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.+newKnowledgeBuilder+();
kbuilder.add(ResourceFactory.+newClassPathResource+(
"com/myproject.bpmn2"), ResourceType.++BPMN2++
);
kbuilder.add(ResourceFactory.+newClassPathResource+(
"com/apollo/myproject.drl"), ResourceType.++DRL++
);
KnowledgeBase kbase = kbuilder.newKnowledgeBase();
StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();
Best regards and thanks,
Tobias
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/627638#627638]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]