At 19:57 10.04.00 , [EMAIL PROTECTED] wrote:
>Hi,
>
>I have defined a finder method with 2 parameters in the Home interface
>of a CMP entity bean (JOnAs 2.0)
>
>  public Enumeration findRangeBooks(int from, int to)
>       throws RemoteException, FinderException;
>
>and I have placed in jonas-ejb-jar.xml the clause
>
><jdbc-where-clause>where code >= ? and code <= ?</jdbc-where-clause>

this is, as the error says, invalid XML. try to use the entities for < 
and > (i.e. &lt; , &gt;).

robert

>The GenIC reports
>
>ERROR: jonas-ejb-jar.xml:46:48: Invalid XML: The content of elements
>        must consist of well-formed character data or markup.
>GenIC ERROR: When reading the Deployment Descriptors for ejb-jar.xml
>
>The other finder methods with one parameter work well.
>
>What it's wrong ?
>
>Thanks for your suggestions
>
>
>                         Paolo Sommaruga
>
>                         Garda Access
>                         Garda (Vr), Italy
>                         http://www.garda-access.com/
>
>----
>To unsubscribe, send email to [EMAIL PROTECTED] and
>include in the body of the message "unsubscribe jonas-users".
>For general help, send email to [EMAIL PROTECTED] and
>include in the body of the message "help".

(-) Robert Kr�ger
(-) SIGNAL 7 Gesellschaft f�r Informationstechnologie mbH
(-) Br�der-Knau�-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de

----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to