<div dir="ltr">Not sure I think that changing the name to be different than what shows up in the rule &quot;stringification&quot;. I think what we have now is fairly straightforward unless I misunderstood you. It&#39;s already in the &quot;.condition.&quot; package afaik.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 24, 2014 at 6:19 PM, Ondrej Zizka <span dir="ltr">&lt;<a href="mailto:ozizka@redhat.com" target="_blank">ozizka@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
wouldn&#39;t it be better to split XmlFile&#39;s static code from what should<br>
really be a XmlCondition? For the sake of code readability and<br>
debugging. From user&#39;s PoV it would be the same - he would still see<br>
<br>
     .when(XmlFile.matchesXpath(&quot;//catalog/chain | //catalog/chains&quot;))<br>
<br>
Regards,<br>
Ondra<br>
_______________________________________________<br>
windup-dev mailing list<br>
<a href="mailto:windup-dev@lists.jboss.org">windup-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/windup-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/windup-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Lincoln Baxter, III<br><a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>&quot;Simpler is better.&quot;</div>
</div>