Return-Path: Delivered-To: apmail-incubator-abdera-dev-archive@locus.apache.org Received: (qmail 58603 invoked from network); 12 Nov 2008 10:21:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Nov 2008 10:21:26 -0000 Received: (qmail 91181 invoked by uid 500); 12 Nov 2008 10:21:33 -0000 Delivered-To: apmail-incubator-abdera-dev-archive@incubator.apache.org Received: (qmail 91172 invoked by uid 500); 12 Nov 2008 10:21:33 -0000 Mailing-List: contact abdera-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: abdera-dev@incubator.apache.org Delivered-To: mailing list abdera-dev@incubator.apache.org Received: (qmail 91161 invoked by uid 99); 12 Nov 2008 10:21:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Nov 2008 02:21:33 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of david.calavera@gmail.com designates 64.233.170.186 as permitted sender) Received: from [64.233.170.186] (HELO rn-out-0910.google.com) (64.233.170.186) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Nov 2008 10:20:14 +0000 Received: by rn-out-0910.google.com with SMTP id m7so315867rnd.3 for ; Wed, 12 Nov 2008 02:20:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=If0sgqLqAJwFa642hjyroK39WZ5ZVGWRMuw/i7RKO/o=; b=CwFH7jlStql6bgu7VwbW8Q54c/ntyu3bv+McQuEFnVKwUiz5+x470dJzyGQDOCY2VP dP5KwgLqasp8FA19ez7b90q0ov8LVZV0i3fVVwouZ4uo3SgcPemeoRDMaX874i5kehzA nZEMA6kFrLEtlNvwDGbIxioZhw8n8xtx3xVDI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=xEHIZi0wRMUYsdT0TTUvBRuplfp2PuvB9ycFMM1dDwxNjfHMiCtZEmfayrMV/EU4Sm /GzIdxnYclnVtaXTKkKeAkuKbgflGd6/vPOXk5Zr5bQq75p84T58Jk7MF6kPqtauFQbV xEQgBnbLdXz8wGpILkWvVnmYbgTVxnCCeUmFs= Received: by 10.100.93.19 with SMTP id q19mr3809034anb.156.1226485247172; Wed, 12 Nov 2008 02:20:47 -0800 (PST) Received: by 10.100.154.18 with HTTP; Wed, 12 Nov 2008 02:20:47 -0800 (PST) Message-ID: Date: Wed, 12 Nov 2008 11:20:47 +0100 From: "David Calavera" To: abdera-dev@incubator.apache.org Subject: Abdera elements, axiom and the pain. AKA ABDERA-194: FOMXPath selectNodes() accepts a Base argument but requires an Axiom object to work properly MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2811_18093269.1226485247159" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_2811_18093269.1226485247159 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I'm working in this issue https://issues.apache.org/jira/browse/ABDERA-194, and I'd like to discuss my solution because I'm not sure if it's the best one. The problem was that the classes that extend ElementWrapper don't extend the Axiom methods to enable XPath navigation and json serialization. My solution. Now ElementWrapper extends OMElementImpl but I had to modify some methods due to getting conflicts with the Axiom api. So, some methods in the media extension called "getType" are now called "getMediaType", and a method called "getType" in the openSearch extension is now called "getUrlType". If nobody disagrees and proposes a better way to solve the bug I'll commit my changes tomorrow morning. Cheers ------=_Part_2811_18093269.1226485247159--