Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 65796 invoked from network); 3 Oct 2002 20:53:44 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 3 Oct 2002 20:53:44 -0000 Received: (qmail 3810 invoked by uid 97); 3 Oct 2002 20:54:26 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 3765 invoked by uid 97); 3 Oct 2002 20:54:25 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 3750 invoked by uid 50); 3 Oct 2002 20:54:25 -0000 Date: 3 Oct 2002 20:54:25 -0000 Message-ID: <20021003205425.3749.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 13223] - JSP pages in XML syntax do not compile properly X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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=13223 JSP pages in XML syntax do not compile properly ------- Additional Comments From Andreas.Junghans@fh-karlsruhe.de 2002-10-03 20:54 ------- Unfortunately, the hole is not plugged by JSP 2.0! From the spec (emphasis by me): "The standard action allows the page author to define the value of a ***tag handler*** attribute in the body of an XML element instead of in the value of an XML attribute. The action may only appear as a subelement of a ***standard or custom action*** invocation." (Source: jsp-2_0-prd-spec.pdf, JSP.5.10, page 133) If I'm not completely mistaken, is just a way of avoiding "%= ... %". The spec quote above clearly states that cannot be used for "ordinary" XML tags (i.e. body content in contrast to standard or custom actions). Thus, I think Kin-Man's example (dynamically setting the attribute of a -Tag) is invalid. Also, all examples for in the spec refer to a custom action. If what you suggest really works in Tomcat 5, then Tomcat is (unfortunately) wrong. I sent a message about this to jsp-spec-comments@eng.sun.com some time ago, but never got an answer. Maybe it would help if a Tomcat developer brought this up once again (Kin-Man?)... This is a _very annoying, very ugly_ spec issue IMHO. Either you don't use the XML syntax, or you're forced to use strange and/or hard-to-implement workarounds. Oh well, I will stop ranting now ;-) -- To unsubscribe, e-mail: For additional commands, e-mail: