Project

General

Profile

Actions

Feature #6691

closed

convert NodeExistValidator to NodeExistProcessor

Added by Reynaud Sylvain over 10 years ago. Updated over 10 years ago.

Status:
Rejected
Priority:
Low
Assigned To:
Category:
Engine
Target version:
Start date:
03/28/2014
Due date:
% Done:

0%

Estimated time:

Description

This plugin should implement interface Validator insted of Processor.

Written by user:

<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>

Generated by Lavoisier:

<view name="example">
    <connector type="XMLConnector"/>
    <processors>
        <processor type="XPathValidatorProcessor" match="/result">
            <parameter name="message">Missing node 'result'</parameter>
        </processor>
        <!-- other processors -->
    </processors>
</view>

Actions

Also available in: Atom PDF