Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 43958 invoked from network); 26 May 2006 20:00:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 May 2006 20:00:24 -0000 Received: (qmail 5920 invoked by uid 500); 26 May 2006 20:00:19 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 5866 invoked by uid 500); 26 May 2006 20:00:18 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 5855 invoked by uid 99); 26 May 2006 20:00:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 May 2006 13:00:18 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=BIZ_TLD,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lars_huttar@sil.org designates 208.145.81.52 as permitted sender) Received: from [208.145.81.52] (HELO smtp1.wsfo.org) (208.145.81.52) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 May 2006 13:00:16 -0700 Received: from mail.link77.net (mail.link77.net [172.22.0.125]) by smtp1.wsfo.org (8.13.1/8.13.1) with ESMTP id k4QJxjLW017400 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO) for ; Fri, 26 May 2006 15:59:53 -0400 X-Scanned-By: MIMEDefang 2.54 on 172.22.0.52 X-Scanned-By: RAE MPP/Clamd http://raeinternet.com/mpp X-Scanned-By: This message was scanned by MPP Free Edition (www.messagepartners.com)! X-ExtScanner: Niversoft's Find_Attachments Received: from [172.20.3.133] (account lars_huttar@sil.org [172.20.3.133] verified) by mail.link77.net (CommuniGate Pro SMTP 5.0.8) with ESMTPSA id 113547058; Fri, 26 May 2006 15:59:46 -0400 Message-ID: <44775E78.4000607@sil.org> Date: Fri, 26 May 2006 15:00:56 -0500 From: Lars Huttar User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: Warnings for XSLT References: <4476AF26.7020604@tt.com.au> In-Reply-To: <4476AF26.7020604@tt.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Kamal Bhatt wrote: > > Hi > I keep getting warnings about TraxErrorListener for line 55 and 64 for > the XSLT included at the end of this file. To make life easier the > problem is with the following lines: > > and > || > > without the curly braces it does not work, but with them I get the > warnings. As the pipelines that reference this are high traffic, I > find the logs files jam packed with these warnings. How can I get rid > of them? > > We are using cocoon-2.1.9 on jboss. > > Cheers. > > > xmlns:xsl="*http://www.w3.org/1999/XSL/Transform*" > xmlns:sup="*http://www.calypso.net.au/apps/supub/SupplierV1.0*" > xmlns="*http://www.calypso.net.au/apps/supub/SupplierV1.0*"> > - <#> > > > - <#> > - <#> > > - <#> > > > > > - <#> > - <#> > > - <#> > > > > > > - <#> > - <#> > > > > > Please describe what you mean by these asterisks, and we can try to ... OH!!! I bet you copied and pasted from the browser where these attribute values were shown in BOLD, or something! And the bold got translated into asterisks! (+,+) (Deleting several sentences I wrote above about ill-formed XML element names.) OK, looking at your stylesheet afresh... Your curly brackets look OK, though the templates could be simplified. Can you tell us in more detail what the warnings say? Here is a simpler version of your last two templates: Depending on what you're trying to do, you may find an identity template useful: http://www.xmltraining.biz/xsltidentity HTH, Lars --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org