Return-Path: X-Original-To: apmail-commons-user-archive@www.apache.org Delivered-To: apmail-commons-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9E89225C2 for ; Sat, 30 Apr 2011 01:07:00 +0000 (UTC) Received: (qmail 70655 invoked by uid 500); 30 Apr 2011 01:06:59 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 70580 invoked by uid 500); 30 Apr 2011 01:06:59 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 70572 invoked by uid 99); 30 Apr 2011 01:06:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Apr 2011 01:06:59 +0000 X-ASF-Spam-Status: No, hits=4.7 required=5.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mgainty@hotmail.com designates 65.55.116.82 as permitted sender) Received: from [65.55.116.82] (HELO blu0-omc3-s7.blu0.hotmail.com) (65.55.116.82) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Apr 2011 01:06:48 +0000 Received: from BLU142-W1 ([65.55.116.74]) by blu0-omc3-s7.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 29 Apr 2011 18:06:27 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_424efbc6-8def-4a04-bdcf-1e4dabd8e0cd_" X-Originating-IP: [24.34.12.246] From: Martin Gainty To: Subject: RE: [Jelly] XML ForEach tag hangs Date: Fri, 29 Apr 2011 21:06:27 -0400 Importance: Normal In-Reply-To: References: MIME-Version: 1.0 X-OriginalArrivalTime: 30 Apr 2011 01:06:27.0859 (UTC) FILETIME=[D54FFE30:01CC06D2] X-Virus-Checked: Checked by ClamAV on apache.org --_424efbc6-8def-4a04-bdcf-1e4dabd8e0cd_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Czaba which xml-parser are you implementing? what is the version of which xml-parser you are implementing? Martin=20 ______________________________________________=20 Jogi =E9s Bizalmass=E1gi kinyilatkoztat=E1s/Verzicht und Vertraulichkeitanm= erkung/Note de d=E9ni et de confidentialit=E9 Ez az =FCzenet bizalmas. Ha nem =F6n az akinek sz=E1nva volt=2C akkor k=E9rj=FCk= =2C hogy jelentse azt nek=FCnk vissza. Semmif=E9le tov=E1bb=EDt=E1sa vagy m=E1solat= =E1nak k=E9sz=EDt=E9se nem megengedett. Ez az =FCzenet csak ismeret cser=E9t szol= g=E1l =E9s semmif=E9le jogi alkalmazhat=F3s=E1ga sincs. Mivel az electronikus =FCzene= tek k=F6nnyen megv=E1ltoztathat=F3ak=2C ez=E9rt minket semmi felel=F6s=E9g nem = terhelhet ezen =FCzenet tartalma miatt. Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaeng= er sein=2C so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiter= leitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient l= ediglich dem Austausch von Informationen und entfaltet keine rechtliche Bin= dungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen w= ir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut =EAtre privil=E9gi=E9. Si vous n'=EAtes= pas le destinataire pr=E9vu=2C nous te demandons avec bont=E9 que pour sat= isfaire informez l'exp=E9diteur. N'importe quelle diffusion non autoris=E9e= ou la copie de ceci est interdite. Ce message sert =E0 l'information seule= ment et n'aura pas n'importe quel effet l=E9galement obligatoire. =C9tant d= onn=E9 que les email peuvent facilement =EAtre sujets =E0 la manipulation= =2C nous ne pouvons accepter aucune responsabilit=E9 pour le contenu fourni= . > Date: Sat=2C 30 Apr 2011 03:02:09 +0200 > Subject: [Jelly] XML ForEach tag hangs > From: csabeee@gmail.com > To: user@commons.apache.org >=20 > Hello there! >=20 > I'm trying to use the ForEach tag in Jelly's XML tag library. The > following script works fine in a standard Java console application: >=20 > > > > > > > >=20 > > ... > >=20 > However=2C if using Jelly on an application server=2C from inside an EJB > container (session bean)=2C running the script above hangs=2C and 100% CP= U > utilisation comes. I realized while debugging that NodeComparator > class' getDepth method gets into an infinite loop and never returns. >=20 > If I remove two "b" elements from the xml fragment above (so only one > remains)=2C it works fine. It also works if I change the second part of > the above script to the following: >=20 > > > ... > > >=20 > Does anyone have any idea why is that happening? Any help is much appreci= ated. >=20 > Thank you: > Csaba >=20 > --------------------------------------------------------------------- > To unsubscribe=2C e-mail: user-unsubscribe@commons.apache.org > For additional commands=2C e-mail: user-help@commons.apache.org >=20 = --_424efbc6-8def-4a04-bdcf-1e4dabd8e0cd_--