[mule-user] Problem with xpath filter

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[mule-user] Problem with xpath filter

Julian de Anquin
Hi all.
I'm trying to add the folowing filter to an outbound router.
<filter expression="esabas/usuario/cantidad_pedido<10000"
                                                className="org.mule.routing.filters.xml.JXPathFilter">
But the parser complaints and gives the following error

* A Fatal error has occurred while the server was running:                     *
* The value of attribute "expression" associated with an element type "filter" *
*  must not contain the '<' character. (org.xml.sax.SAXException)

This is an error of the dtd of the mule configuration file?
How can i solve it?
thanks a lot
Julian

--
Julian Eduardo de Anquin
[hidden email]
Cordoba, Argentina
Reply | Threaded
Open this post in threaded view
|

RE: [mule-user] Problem with xpath filter

Valada, Narendra

Julian,

Try <filter expression="esabas/usuario/cantidad_pedido&lt;10000"

-----Original Message-----
From: Julian de Anquin [mailto:[hidden email]]
Sent: Thursday, July 14, 2005 9:24 AM
To: [hidden email]
Subject: [mule-user] Problem with xpath filter

Hi all.
I'm trying to add the folowing filter to an outbound router.
<filter expression="esabas/usuario/cantidad_pedido<10000"

className="org.mule.routing.filters.xml.JXPathFilter">
But the parser complaints and gives the following error

* A Fatal error has occurred while the server was running:
*
* The value of attribute "expression" associated with an element type
"filter" *
*  must not contain the '<' character. (org.xml.sax.SAXException)

This is an error of the dtd of the mule configuration file?
How can i solve it?
thanks a lot
Julian

--
Julian Eduardo de Anquin
[hidden email]
Cordoba, Argentina

---------------------------------------------------------------------

The message contains confidential and/or legally privileged

information and is intended for use by the indicated addressee.



If you are not the intended addressee: (a) any disclosure,

reproduction, distribution or action you take because of it is

strictly prohibited; (b) please return the complete message to the

sender; and (c) this message is not a solicitation for purchase or

sale or an agreement of any kind whatsoever that binds the sender.

---------------------------------------------------------------------
Reply | Threaded
Open this post in threaded view
|

Re: [mule-user] Problem with xpath filter

Andrew Perepelytsya
In reply to this post by Julian de Anquin
Try replacing it with &gt; (note the semicolon) - this is a standard
escape syntax.

Andrew