DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16885>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16885 client side validation strips off back-slashes in user defined variables in validation.xml ------- Additional Comments From [EMAIL PROTECTED] 2003-02-10 21:15 ------- What's happening is this: The HTML/Javascript reads: function cdnmask () { this.aa = new Array("lastName", "", new Function ("varName", "this.conditionMask='^\\w*$'; this.cdnProperty='firstName'; this.cdnValue='piggy'; return this[varName];")); } This means that (because the string itself is interpretted once) what actually is placed in the String is: this.conditionMask='^\w*$' Then, when you ask to print it using alert, the \w is evaluated and turns into w. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]