Good afternoon,

On 21-Mar-06, at 11:52 PM, Gareth Kirwan wrote:

When you change the < in the javascript your forcing it to clear the mason
cache.



Indeed -- as you suggested, I did re-trace the steps exactly before/ after the change, and the issue still appeared. Tried clearing the Mason cache, restarting Apache, all sorts of variations.

Funny thing: my original Javascript component actually has 3 less- than if() statements in it. I have to change all three to remove the problem ... just changing combinations of the 1st and 3rd or the 2nd or whatnot didn't solve the problem.

Also adding spurious < signs elsewhere seemed to cause the problem also, leading me to believe it's a parser/lexer issue. No other character (that I've found) seems to cause the issue. Changing all '<' signs to '>' signs (which is actually how I have the code running right now; I just reversed all the inequality tests) makes the problem go away.

Something I'm going to try (but haven't yet) is to change the default mason component tag from <% %> and <& &> to say [% %] and [& &] and updating the code (but otherwise leaving things alone) and see if the problem stays/changes, etc.

Any other ideas?

I'm working on putting together a minimal test-case, but that might take me a day or two, have to take out all client-specific info while leaving enough that the problem sticks around :-)

Cheers,


-Michael

_______________________________________________________

Michael Burns
Cosbit Technologies
403-701-2672  / [EMAIL PROTECTED]

AIM: cmikeburns
MSN: cmikeburns
_______________________________________________________

Box 2173, Station M  •  Calgary, Alberta, Canada  •  T2P 2M4
http://cosbit.com



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to