Subj : E4X: @class causes exception To : netscape.public.mozilla.jseng From : McKinley, Richard Date : Mon Aug 23 2004 10:54 am Trying to use an attribute with the name of "class" (very common in HTML with CSS) causes and exception: org.apache.bsf.BSFException: JavaScript Error: missing name after .@ (/report3.jsp#208) org.apache.bsf.engines.javascript.JavaScriptEngine.handleError(Unknown Source) org.apache.bsf.engines.javascript.JavaScriptEngine.eval(Unknown Source) org.apache.bsf.util.BSFEngineImpl.exec(Unknown Source) org.apache.taglibs.bsf.scriptlet$1.run(scriptlet.java:101) java.security.AccessController.doPrivileged(Native Method) org.apache.taglibs.bsf.scriptlet.doEndTag(scriptlet.java:95) I realize that class is a reserved word but this is going to be very common and rather than have it become a FAQ that confuses everyone it might be better to allow for it. Regardless, here is the work-around: //client.@class = "Organization"; //this causes and exception. client.@tempclass = "Organization"; client.@tempclass.setLocalName("class"); Cheers, McKinley .