Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 18255 invoked from network); 18 Jul 2000 19:45:26 -0000 Received: from lukla.sun.com (192.18.98.31) by locus.apache.org with SMTP; 18 Jul 2000 19:45:26 -0000 Received: from centralmail1.Central.Sun.COM ([129.147.62.10]) by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id NAA19057 for ; Tue, 18 Jul 2000 13:45:25 -0600 (MDT) Received: from esun1as-mm. (esun1as-mm.Central.Sun.COM [129.147.34.144]) by centralmail1.Central.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v1.7) with SMTP id NAA05306 for ; Tue, 18 Jul 2000 13:45:22 -0600 (MDT) Received: from eng.sun.com by esun1as-mm. (SMI-8.6/SMI-SVR4) id NAA00929; Tue, 18 Jul 2000 13:46:56 -0600 Message-ID: <3974B3DE.31D95EB@eng.sun.com> Date: Tue, 18 Jul 2000 12:45:34 -0700 From: "Craig R. McClanahan" X-Mailer: Mozilla 4.72 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-dev@jakarta.apache.org Subject: Re: Jasper code generation problem (bug?) References: <4.2.2.20000717143637.00afd160@facstaff.wisc.edu> <3973968B.FCD052D9@mcnerthney.com> <3974DBF9.5E5DC687@mcnerthney.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N "Patrick J. McNerthney" wrote: > Did I submit this question to the right place? This does turn out to be a bug in Tomcat. I'm not sure it can get addressed in a 3.2 timeframe, but will definitely be addressed in a subsequent version. Craig McClanahan > > "Patrick J. McNerthney" wrote: > > > > When I create a custom tag with a name that contains a dash, such as > > "Foo-Bar", Jasper uses this name in the generation of the variable name > > used to hold the instance of this tag. Since the dash is not a valid > > java variable character, this code does not compile under javac. Other > > JSP compilers, such as WebLogic do handle tag names with dashes fine. > > > > The JavaServer Pages Specification, Version 1.1 states in section 5.3.5 > > that the name element's PCDATA is comprised of NMTOKEN (name token), > > which according to the XML specification includes the dash. > > > > Is this a problem with Jasper or does the JSP specification in fact > > preclude the use of dashes in the name element PCDATA? > > > > Thanks, > > Pat McNerthney > > Icicle Software, Inc. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org