Project

General

Profile

Feature #6691

Updated by Reynaud Sylvain over 10 years ago

This plugin should implement interface Validator insted of Processor. 

 *Written by user*: 
 <pre><code class="xml"> 
 <view name="example"> 
     <connector type="XMLConnector"/> 
     <validator type="XPathValidator"> 
         <parameter name="match">/result</parameter> 
         <parameter name="message">Missing node 'result'</parameter> 
     </validator> 
     <processors> 
         <!-- other processors --> 
     </processors> 
 </view> 
 </code></pre> 

 *Generated by Lavoisier*: 
 <pre><code class="xml"> 
 <view name="example"> 
     <connector type="XMLConnector"/> 
     <processors> 
         <processor type="XPathValidatorProcessor" match="/result"> 
             <parameter name="message">Missing node 'result'</parameter> 
         </processor> 
         <!-- other processors --> 
     </processors> 
 </view> 
 </code></pre> Processor

Back