Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 1407 invoked from network); 1 Jun 2007 11:27:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Jun 2007 11:27:31 -0000 Received: (qmail 36018 invoked by uid 500); 1 Jun 2007 10:21:24 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 35992 invoked by uid 500); 1 Jun 2007 10:21:24 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 35979 invoked by uid 99); 1 Jun 2007 10:21:24 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jun 2007 03:21:24 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [65.212.180.80] (HELO pyramid-05.kattare.com) (65.212.180.80) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jun 2007 03:21:17 -0700 Received: from [192.168.1.17] (dsl-83-171-243-67.customers.vivodi.gr [83.171.243.67]) (authenticated bits=0) by pyramid-05.kattare.com (8.13.8/8.13.6) with ESMTP id l51AOeuI001888 for ; Fri, 1 Jun 2007 03:24:41 -0700 Message-ID: <465FF195.6010304@geekologue.com> Date: Fri, 01 Jun 2007 13:14:45 +0300 From: Manos Batsis User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: Struts Users Mailing List Subject: Re: xhtml problem References: <10902429.post@talk.nabble.com> In-Reply-To: <10902429.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Ray Clough wrote: > I produce all my jsp pages is xml format - ie. as 'jspx' jsp-documents. I > find a serious drawback to the struts tags, and I'm wondering if anyone has > a suggestion. The xhtml does not allow element content within other > elements; for example the tag cannot contain a tag. Lots of > examples in the struts documentation use this, which is not a problem for > regular html, but is a big show stopper in xml. The tags do allow jsp-el, > but not other elements. Just do not use the DTDs while editing JSPs; for example include them in the response using a static JSP include. If you want validation during editing, the only AFAIK way would be to play with the W3C Schema components developed as "Modularization of XHTML in XML Schema" [1]. [1] http://www.w3.org/TR/xhtml-modularization/ hth, Manos --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org