Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 31271 invoked from network); 24 Jan 2004 02:19:44 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 24 Jan 2004 02:19:44 -0000 Received: (qmail 76550 invoked by uid 500); 24 Jan 2004 02:19:22 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 76528 invoked by uid 500); 24 Jan 2004 02:19:22 -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 76514 invoked from network); 24 Jan 2004 02:19:21 -0000 Received: from unknown (HELO sccrmhc13.comcast.net) (204.127.202.64) by daedalus.apache.org with SMTP; 24 Jan 2004 02:19:21 -0000 Received: from plotnix2500 (pcp02137893pcs.reston01.va.comcast.net[68.48.26.233]) by comcast.net (sccrmhc13) with SMTP id <2004012402193001600k1lvve>; Sat, 24 Jan 2004 02:19:30 +0000 Message-ID: <005d01c3e220$829883d0$0500a8c0@plotnix2500> From: "Dmitri Plotnikov" To: "Jakarta Commons Users List" Cc: "John Landers" References: Subject: Re: [JXPath] attribute axis Date: Fri, 23 Jan 2004 21:19:35 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Chris, Could you elaborate on this requirement a little bit? What is the need to use the attribute axis rather than child axis with maps? Thanks, - Dmitri ----- Original Message ----- From: "Chris White" To: Cc: "John Landers" Sent: Monday, November 10, 2003 6:44 AM Subject: [JXPath] attribute axis > JXPath is a marvelous tool! > > We are using it in an open-source EAI project, OpenEDIX > (openedi.sourceforge.net). OpenEDIX is tool that supports the description > and transformation of a variety of message protocols, primarily protocols > used in healthcare. > > We would like to create an enhancement that lets us create values on the > attribute axis dynamically similar to the DynamicPropertyHandler mechanism. > I have downloaded the source and have been experimenting to determine what > changes might be required to support this feature. > > I have found that if I make the following changes I start to get the > behavior we're after. > > 1) DynamicPropertyPointer - added new field "axis", revised constructor to > accept setting of this new field > 2) DynamicPropertyHandler - added a new parameter, "axis" on every method. > Modified all implementers of this interface > 3) PropertyOwnerPointer.getPropertyPointer(int axis) - added axis parameter > to abstract method. > > Only the SimplePathInterpreter is passing anything other than > Compiler.CHILD_AXIS to getPropertyPointer. Nothing else appears to be aware > of the axis of each step. This makes me think that I might be barking up the > wrong tree. > > Do you have any recommendation for alternative approaches? > > Is this a feature that you think belongs in the base product or should we > consider our work an alternate implementation? > > Chris White > Parafora Software/Care Data Systems > (734)930-1804 > > > --------------------------------------------------------------------- > 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