Hi,
 
I am not able to set the default namespace as i want it while writing an xml document from a dom4j object model.
This is what i want.  Watch the xmlns="..."It does not say xmlns:jbpm="...".
 
  <?xml version="1.0" encoding="UTF-8"?>
  <process-definition xmlns="http://jbpm.org/statedefinition">
    <start-state name="start">
      <transition to="first"/>
    </start-state>
    ...
    <end-state name="end"/>
  </process-definition>
 
When I set the namespace of the process-definition element like this
 
  pde.add( new Namespace(null, "http://jbpm.org/statedefinition") );
 
all its children get an empty namespace (valid but not what i want)
 
  <start-state xmlns="" name="start">
 
What am i missing ?
All hints and pointers are appreciated.
 
Regards,
Tom Baeyens
jBpm Support Company
Campus Blairon 465
2300 Turnhout
Belgium
+32 14 711 152
 
 

Reply via email to