Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Extra illegal tokens: 'AND',

a4640170-15f6-4fa0-b20e-77f2ac023bb8Jan 21 2019 — edited Jan 21 2019

Hi,

I'm getting

extra illegal tokens: 'AND',  'string-length', '(', 'INVOICES', 'INVOICE', ....]]>

when I try to do the following:

<xsl:when  test="substring(INVOICES/INVOICE/M1,1,4 &lt; 1945 AND string-length(INVOICES/INVOICE/B1 < 2 ">

I can run it with either the substring part or the string-length part but not combined with AND.

I want to do something if M1 is lower than 1945 and the B1 has fewer letters than 2.

Please help out!

Thanks!

Comments
Post Details
Added on Jan 21 2019
0 comments
467 views