imixs / imixs-workflow

The open source technology for business process management
http://www.imixs.org/
GNU General Public License v3.0
358 stars 64 forks source link

XMLParser parse no empty xml tags #878

Closed rsoika closed 4 weeks ago

rsoika commented 1 month ago

We need to refine the method findNoEmptyTags or add a new method findNoEmptyXMLTags to ensure that in complex cases only the embedded XML is returned. This is for example need for the WorkflowKernel when testing embedded model configuration in an event.

Example

   <model>     
       <version>sub-model-1.0.0</version>
       <task>1000</task>
       <event>10</event>
    </model>

and here the embedded tag also holds the model tag!

     <imixs-micro name="CREATE">
        <endpoint>ws://workstation-1:8080/workflow</endpoint>
        <model>workstation-1-1.0.0</model>
        <task>1000</task>
        <event>10</event>
        <items>order.number;order.date</items>
        <debug>true</debug>
     </imixs-micro>