[jboss-user] [jBPM] - How to switch off schema validation ?
Tobias Wittur
do-not-reply at jboss.com
Tue Sep 20 18:51:29 EDT 2011
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&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110920/f65dc42b/attachment-0001.html
More information about the jboss-user
mailing list