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 87681 invoked from network); 18 Jul 2000 19:06:54 -0000 Received: from ns1.tumwater.net (4.18.245.2) by locus.apache.org with SMTP; 18 Jul 2000 19:06:54 -0000 Received: from mcnerthney.com (pat@[4.18.245.16]) by ns1.tumwater.net (8.9.3/8.9.3) with ESMTP id MAA28896 for ; Tue, 18 Jul 2000 12:17:34 GMT Sender: pat@ns1.tumwater.net Message-ID: <3974DBF9.5E5DC687@mcnerthney.com> Date: Tue, 18 Jul 2000 15:36:41 -0700 From: "Patrick J. McNerthney" Organization: Icicle Software, Inc. X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.13.consult1 i686) 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Did I submit this question to the right place? "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