Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 76593 invoked from network); 15 Sep 2004 20:18:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 15 Sep 2004 20:18:22 -0000 Received: (qmail 18204 invoked by uid 500); 15 Sep 2004 20:18:15 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 18069 invoked by uid 500); 15 Sep 2004 20:18:14 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 18052 invoked by uid 99); 15 Sep 2004 20:18:13 -0000 X-ASF-Spam-Status: No, hits=1.6 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [199.67.141.25] (HELO mail.citigroup.com) (199.67.141.25) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 15 Sep 2004 13:18:11 -0700 Received: from imbarc-ny02.ny.ssmb.com (imbarc-ny02-1 [162.124.186.139]) by imbaspam-nj03.iplex.ssmb.com (8.12.10/8.12.10/SSMB_EXT/ev: 10651 $) with ESMTP id i8FKI60P027986 for ; Wed, 15 Sep 2004 20:18:06 GMT Received: from mailhub-nyc3.ny.ssmb.com (mailhub-nyc3-hme0.ny.ssmb.com [162.124.148.17]) by imbarc-ny02.ny.ssmb.com (8.12.9/8.12.9/SSMB_QQQ_IN/1.1) with ESMTP id i8FKI0Mb019759 for ; Wed, 15 Sep 2004 20:18:01 GMT Received: from exnysm01.nam.nsroot.net (exnysm01.nam.nsroot.net [162.124.194.73]) by mailhub-nyc3.ny.ssmb.com (8.12.10/8.12.10/CG_HUB) with ESMTP id i8FKGw5R004826 for ; Wed, 15 Sep 2004 20:17:53 GMT Received: from exnjmb30.nam.nsroot.net ([169.193.40.32]) by exnysm01.nam.nsroot.net with Microsoft SMTPSVC(5.0.2195.6713); Wed, 15 Sep 2004 16:17:46 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: problem with printing out directories Date: Wed, 15 Sep 2004 16:17:45 -0400 Message-ID: <1545817F9685364F82CCAB3499C89B210146C435@EXNJMB30.nam.nsroot.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RE : [jelly] escape quote in litteral xpath. Thread-Index: AcSbX+r1SD0UsEw2QximLoS2Alp+vgAAJKMw From: "Chandrasekhar, Preetham" To: "Jakarta Commons Users List" X-OriginalArrivalTime: 15 Sep 2004 20:17:46.0031 (UTC) FILETIME=[10450BF0:01C49B61] X-Scanned-By: MIMEDefang 2.36 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N =20 Hi, Is there something wrong with this piece of code? I am trying to print a few directories existing in the local machine, = but the piece of code doesnt seem to work. However when the File is = given this argument "../" then it works!!=20 File dir =3D new File("../abc"); String[] files =3D dir.list( DirectoryFileFilter.INSTANCE ); for ( int i =3D 0; i < files.length; i++ ) { System.out.println(files[i]); } Am I making a mistake? thanks Preetham -----Original Message----- From: Paul Libbrecht [mailto:paul@activemath.org] Sent: Wednesday, September 15, 2004 1:09 PM To: Jakarta Commons Users List Subject: Re: RE : [jelly] escape quote in litteral xpath. XML has something for this just as it has & predefined for the=20 ampersand, < and >... I think it's " (note, this is predefined in XML and needs no entity-declaration, as=20 opposed to é) paul Le 15 sept. 04, =E0 10:14, Marc DEXET a =E9crit : > Thank, but I have to explain that this expression must be in a XML=20 > attribut > like > value=3D"${wrapper.select("/path/to/element[@attribut =3D > 'attribute_name']")}"/> > > It's pretty difficult no ? --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org