From users-return-7309-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Tue May 06 19:14:48 2008 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 62989 invoked from network); 6 May 2008 19:14:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 May 2008 19:14:48 -0000 Received: (qmail 8878 invoked by uid 500); 6 May 2008 19:14:49 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 8861 invoked by uid 500); 6 May 2008 19:14:49 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 8850 invoked by uid 99); 6 May 2008 19:14:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 May 2008 12:14:49 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [205.144.225.178] (HELO itspmx52.state.ms.us) (205.144.225.178) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 May 2008 19:14:03 +0000 Received: from itspmx52.state.ms.us (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id BE288517B for ; Tue, 6 May 2008 14:14:16 -0500 (CDT) Received: from hqsosn003.mdes.ms.gov (unknown [10.80.224.7]) by itspmx52.state.ms.us (Postfix) with ESMTP id 8B8CF4EE0 for ; Tue, 6 May 2008 14:14:16 -0500 (CDT) Received: from hqsosn002 (hqsosn002.mdes.ms.gov [10.80.2.24] (may be forged)) by hqsosn003.mdes.ms.gov (8.12.10+Sun/8.12.10) with ESMTP id m46J88uT004279 for ; Tue, 6 May 2008 14:08:08 -0500 (CDT) Received: from HQCCXPW116 ([10.80.240.116]) by hqsosn002.mdes.ms.gov (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTPA id <0K0G00F3YNVUPH80@hqsosn002.mdes.ms.gov> for users@jackrabbit.apache.org; Tue, 06 May 2008 14:09:30 -0500 (CDT) Date: Tue, 06 May 2008 14:14:16 -0500 From: Abhinav Mishra Subject: RE: Search Query Using Xpath In-reply-to: <01a301c8af95$3ed19690$74f0500a@mdesad.mdesnet.ms.gov> To: users@jackrabbit.apache.org Message-id: <01dd01c8afad$606bce20$74f0500a@mdesad.mdesnet.ms.gov> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Mailer: Microsoft Office Outlook 11 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Thread-index: AcivRWOtzuTldn2qT6WUujYPVf9R8wARUTfwAAiib0A= X-Virus-Checked: Checked by ClamAV on apache.org I am using the following query: //access/appeal/_x0034_0012/* This query returns the results when running in testing environment, but doesn't return the results in production environment. Regards Abhinav Mishra UI Modernization Project, Tata Consultancy Services, Phone: 601-855-3175 Email : amishra@mdes.ms.gov -----Original Message----- From: Abhinav Mishra [mailto:amishra@mdes.ms.gov] Sent: Tuesday, May 06, 2008 11:22 AM To: users@jackrabbit.apache.org Subject: RE: Search Query Using Xpath The node is persistent node it has been saved to the repository. We have created a new top level node recently and all its child node are not appearing when we query them using xpath. Regards Abhinav Mishra UI Modernization Project, Tata Consultancy Services, Phone: 601-855-3175 Email : amishra@mdes.ms.gov -----Original Message----- From: Sebastian Prehn [mailto:sebastian.prehn@planetswebdesign.de] Sent: Tuesday, May 06, 2008 1:52 AM To: users@jackrabbit.apache.org Subject: Re: Search Query Using Xpath On Tuesday 06 May 2008 01:43:12 Abhinav Mishra wrote: > We are able to search the document in the node in the jackrabbit using the > api method call getNode(). > > But if we use the XPath query for any document in this particular node its > not bringing back the results. Hi! Are these nodes you are searching for new/transient Nodes? According to the spec the queries are run against the persitent repository. So you would have to save your changes first for them to show up in the query result. regards, Sebastian > Using the Same Code Xpath Queries we are able to the get the Documents in > other nodes. > > > > Can anyone help regarding this ? > > > > Thanks > > > > Regards > > Abhinav Mishra > > UI Modernization Project, > > Tata Consultancy Services, > Phone: 601-855-3175 > > Email : amishra@mdes.ms.gov -- PLANETS-Webdesign - Web Applications Sebastian Prehn Balbierstr.8 67663 Kaiserslautern www.planetswebdesign.de PGP keyID: 0x3507AF63