Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0FC6D92E8 for ; Thu, 29 Sep 2011 08:16:20 +0000 (UTC) Received: (qmail 91299 invoked by uid 500); 29 Sep 2011 08:16:16 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 91199 invoked by uid 500); 29 Sep 2011 08:16:16 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 91188 invoked by uid 99); 29 Sep 2011 08:16:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2011 08:16:16 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of paulalexwilson@gmail.com designates 209.85.215.173 as permitted sender) Received: from [209.85.215.173] (HELO mail-ey0-f173.google.com) (209.85.215.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2011 08:16:10 +0000 Received: by eyg24 with SMTP id 24so373614eyg.18 for ; Thu, 29 Sep 2011 01:15:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=XOmEQ1zRx4c3bw1/m71UI3I7Em3alpU2N51xDFdOpPQ=; b=ob9hZGCaliSB6Nh0k51A7MGsuwiXgapemVCQOPyzeahGDhQOcldplKbnH6995tNjNA t5nGWyBKNiWjfjucQ/tO0s5Qq5M9liWuVElFihkXPagYXyiugjzzGG1bJa09vD5HcRze KW5xcUFgxgEYCCaXipz878cbtJGG/E+uUUu90= MIME-Version: 1.0 Received: by 10.213.14.144 with SMTP id g16mr191135eba.5.1317284148654; Thu, 29 Sep 2011 01:15:48 -0700 (PDT) Received: by 10.213.17.80 with HTTP; Thu, 29 Sep 2011 01:15:48 -0700 (PDT) In-Reply-To: References: Date: Thu, 29 Sep 2011 09:15:48 +0100 Message-ID: Subject: Re: Using namespaces within XML documents produced from JSPXs From: Paul Wilson To: Tomcat Users List Content-Type: multipart/alternative; boundary=0015174c419ebfb36804ae101d9f --0015174c419ebfb36804ae101d9f Content-Type: text/plain; charset=ISO-8859-1 On 28 September 2011 18:11, Konstantin Kolinko wrote: > > 1) I replaced opening svg tag with: > > width="450" height="500" viewBox="0 0 450 500" > xmlns:c="http://java.sun.com/jsp/jstl/core" > xmlns:fn="http://java.sun.com/jsp/jstl/functions" > xmlns:jsp="http://java.sun.com/JSP/Page" > xmlns:foo="bar"> > > JSP 2.0 JSPX > Bar! > > Note xmlns declaration and foo:x element. > > The page, > http://localhost:8080/examples/jsp/jsp2/jspx/textRotate.jspx?name=JSPX > renders correctly and gives me: > > > JSP 2.0 > JSPXBar!(....) > > > With correct xmlns:foo="bar" and Bar!. > This is what isn't working on Tomcat 6.0.32 for me. Note additionally that " http://www.w2.org/2000/svg" should be a taglib uri too to fully mirror my example. Perhaps I'm being too optimistic that the namespace attribute 'xmlns' would be made available to the custom tag?? --0015174c419ebfb36804ae101d9f--