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

Updated by Reynaud Sylvain over 10 years ago

  • Subject changed from implement plugin NodeExistValidator as a validator plugin to convert NodeExistValidator to NodeExistProcessor
  • Target version set to 2.1

this will be done via XSL preprocessing

Actions #2

Updated by Reynaud Sylvain over 10 years ago

  • Description updated (diff)
  • Category changed from Adaptors to Engine
Actions #3

Updated by Reynaud Sylvain over 10 years ago

  • Status changed from New to Rejected
  • Assigned To set to Reynaud Sylvain

Rejected because this changes the position of all processors, so it is incompatible with argument '_stop_at_'.

Actions

Also available in: Atom PDF