On Wed, 2006-07-12 at 13:00 -0400, Davanum Srinivas wrote:
> Let me try another variation to see if folks like it:
> 
> Syntax:
>   <filter source="xpath" [regex="string"]>
>     mediator+
>   </filter>
> 
> Explanation:
> If the regular expression is present then the <filter> mediator
> matches the evaluation result of a source xpath expression against the
> given regular expression. If the regex is absent, then the mediator
> tests the given source xpath expression as a boolean expression. In
> either case, If the test succeeds, the filter mediator will execute
> the enclosed mediators in sequence.

This is not what @source means .. it identifies the data to filter; the
"source" for filtration. If @source is missing, the data is
the /soap:Envelope element. If its there it can point to any place in
the message and then the regex or xpath matches against that node. 

So your proposal has lost function.

Again, I'm -1 to the *principle*: If the language syntax is bust let's
fix it. But let's *not* convolute the syntax to make a nice(r) schema.

Sanjiva.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to