[jboss-user] [jBPM] - Re: Event Based Gateway Split - xml parsing error

Tobias Wittur do-not-reply at jboss.com
Tue Sep 20 18:41:01 EDT 2011


Tobias Wittur [http://community.jboss.org/people/tob1as] created the discussion

"Re: Event Based Gateway Split - xml parsing error"

To view the discussion, visit: http://community.jboss.org/message/627636#627636

--------------------------------------------------------------
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
[http://community.jboss.org/message/627636#627636]

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/bfe4c594/attachment.html 


More information about the jboss-user mailing list