abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garrett Rooney" <roo...@electricjellyfish.net>
Subject Re: Abdera elements, axiom and the pain. AKA ABDERA-194: FOMXPath selectNodes() accepts a Base argument but requires an Axiom object to work properly
Date Wed, 12 Nov 2008 15:10:20 GMT
On Wed, Nov 12, 2008 at 5:20 AM, David Calavera
<david.calavera@gmail.com> wrote:
> 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.

Seems reasonable enough to me.  The new method names are more clear anyway.


View raw message