2 Replies Latest reply on Sep 20, 2011 10:58 PM by Tobias Wittur

    How to switch off schema validation ?

    Tobias Wittur Newbie

      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