RE: Problem with JXPath 1.3 - Registering Namespaces

2007-08-08 Thread Matt Benson
--- Mcduffey, Joe [EMAIL PROTECTED] wrote: Yes an example of using AbstractFactory in this way. There are examples in the testcases in the org.apache.commons.jxpath.ri.model.dom and org.apache.commons.jxpath.ri.model.jdom packages. -Matt -Original Message- From: Matt Benson

Re: JXPath unexplained behaviour

2007-10-10 Thread Matt Benson
open, however, because the fact that selectSingleNode() behaved the way you wanted it to is the actual bug (as I suspected might be the case). :) -Matt --- Matt Benson [EMAIL PROTECTED] wrote: --- Singh, Rupinder [EMAIL PROTECTED] wrote: Can somebody explain the unusual behaviour

Re: [jxpath] Using JXPATH for dates

2008-01-14 Thread Matt Benson
Hi, To be quite honest I'm not sure where the xs: portions of your example, and question, are coming from. Maybe if you provide a little more basic detail to describe how you got to the point you're at with JXPath, the list could be of more help. -Matt --- Desai, Jasmina [EMAIL PROTECTED]

RE: [jxpath] Using JXPATH for dates

2008-01-15 Thread Matt Benson
: Monday, January 14, 2008 2:57 PM To: 'Matt Benson' Subject: RE: [jxpath] Using JXPATH for dates Hi Matt, Thanks for the reply. Basically my code generates a xpath sentence as follows (forget about how it generates) /wirelessDevices[marketData/enteredMarketDate = xs:date:(2008-01-01

Re: Filter properties when BeanUtils.copyProperties

2008-01-19 Thread Matt Benson
This is a little late, but Morph at sf.net is another object transformation project similar to Dozer with a different architecture, that comes with DynaBean support. If you try the current (old) release and have any problems don't hesitate to ask on the mailing lists for help or info. -Matt ---

Re: [JXPath] circular object graphs

2008-01-25 Thread Matt Benson
--- Warren Liang [EMAIL PROTECTED] wrote: Hi all, How does JXPath handle circular object paths? My object graph is can have circular references to objects that are the same instance (i.e. obj1 == obj2), or are different instances but have equivalent values (i.e. obj1.equals(obj2))

Re: [JXPath] circular object graphs

2008-01-25 Thread Matt Benson
hook). If you come up with anything interesting, feel free to post it on the Wiki. br, Matt Thanks, Warren On Jan 25, 2008 9:50 AM, Matt Benson [EMAIL PROTECTED] wrote: --- Warren Liang [EMAIL PROTECTED] wrote: Hi all, How does JXPath handle circular object paths? My

Re: JXPath and Collections

2008-02-06 Thread Matt Benson
--- Jeffrey Puro [EMAIL PROTECTED] wrote: I have a pojo that has the following properties: Looks like a set is unsupported. :( Could you possibly use some kind of wrapper object, possibly returning asList() from a commons-collections ListOrderedSet from a getSetAsList() method or something

RE: [JXPath] and Collections

2008-02-07 Thread Matt Benson
-Original Message- From: Matt Benson [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 06, 2008 3:55 PM To: Jakarta Commons Users List Subject: Re: JXPath and Collections --- Jeffrey Puro [EMAIL PROTECTED] wrote: I have a pojo that has the following properties: Looks

Re: [JXPath] Can JXPath be combined with Xalan for processing templates?

2008-03-20 Thread Matt Benson
--- Rodrigo Ru’iz [EMAIL PROTECTED] wrote: Hi everybody, I would like to apply an XSLT transformation on an internal object structure, instead of a DOM. Is there a way to do this with JXPath and Xalan (or any other XSLT engine)? I can't think how to do this with JXPath. Jaxen might

Re: [JXPath] JAXP compliance

2008-03-20 Thread Matt Benson
--- Rodrigo Ru’iz [EMAIL PROTECTED] wrote: Hi all, Is JAXP compliance in the project roadmap? Cheers, Rodrigo The Commons community has in fact voted to accept a code donation which provides support for the relevant parts of the JAXP spec. This is on hold until after JXPath 1.3 is

Re: [jxpath 1.2] Why does InfoSetUtil.booleanValue method handle strings in the manner that it does???

2008-04-10 Thread Matt Benson
--- Tom Muldoon [EMAIL PROTECTED] wrote: Can anyone explain why the InfoSetUtil.booleanValue(Object object) method returns true when the object is a String if and only if it is a non-zero length string? Here's a code excerpt ... else if (object instanceof String) {

Re: bidimap with multiple value occurence

2008-04-17 Thread Matt Benson
--- Nazar Stasiv [EMAIL PROTECTED] wrote: Hello, I want to ask about elegant way to store key,value pairs into bidimap where value has many occurrences. It is known that if map stores key,value pair into existing key bucket old value is replaced with new one. Now when it comes to lookup

Re: Is JXPath project abandoned?

2008-05-19 Thread Matt Benson
For the most part this project is in maintenance mode. There's not a wealth of interest/expertise on adding new features, but the community is committed to seeing through the original goal of providing a compatible implementation of XPath 1.0. JXPath 1.3 should be released in the relatively near

Re: [jxpath] JXPath 1.3 Status

2008-06-30 Thread Matt Benson
Yes, JXPath 1.3 has actually had three release candidates cut; a fourth should come very soon. So JXPath 1.3 should be released sometime in July. -Matt --- Matt Accola [EMAIL PROTECTED] wrote: Is JXPath still an active project? I see the last release was 1.2 in August 2004. I see 46 of 46

Re: [JXPATH] getting Containers in iteration (additional info)

2008-08-18 Thread Matt Benson
--- Harald Finster [EMAIL PROTECTED] wrote: Hello again, I would just like to add an other observation: If I add MapT,T map ; to my 'Book', I get the 'expected' result for the map property , i.e. iterating with /* as XPath results in the following: title = Book Title

Fwd: [Urgent] Please help promote ApacheCon video streaming!

2008-11-04 Thread Matt Benson
--- Lars Eilebrecht [EMAIL PROTECTED] wrote: Date: Tue, 4 Nov 2008 10:27:25 -0600 From: Lars Eilebrecht [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Urgent] Please help promote ApacheCon video streaming! Hi, please help promote the ApacheCon live video streaming by forwarding

Re: [vfs] Copying byte[] to destination file

2009-01-23 Thread Matt Benson
Note that I have added the component ID to the subject line: I'm not sure I entirely understand the question. If I wanted to copy a byte[] to a VFS FileObject I would use commons-io IOUtils to copy the byte[] to fileObject.getContent().getOutputStream(). Does this help? -Matt --- Walter,

RE: [vfs] Copying byte[] to destination file

2009-01-23 Thread Matt Benson
before, use some sort of buffering strategy in the write such as that employed by IOUtils' copy(..) methods). -Matt thanks -Original Message- From: Matt Benson [mailto:gudnabr...@yahoo.com] Sent: Friday, January 23, 2009 12:01 PM To: Commons Users List Subject: Re: [vfs

RE: [vfs] Copying byte[] to destination file

2009-01-23 Thread Matt Benson
[] data, java.io.OutputStream outstr) or writeContent(byte[] data, FileObject out) What does VFS have for buffering? Nothing I can see, but again, I don't have any particular expertise with the API. -Matt thanks -Original Message- From: Matt Benson [mailto:gudnabr

Re: JXPath - is JXPath dead in the water?

2009-02-02 Thread Matt Benson
--- Adrian Mitev adrian.mi...@googlemail.com wrote: On Mon, Feb 2, 2009 at 5:10 PM, Matt Benson gudnabr...@yahoo.com wrote: --- Andrew Hughes ahhug...@gmail.com wrote: Hi All, Is JXPath dead in the water? I can't find a post here in 2009 and very limited posts in 2008. Hi

Re: JXPath over Generic Collection?, How?

2009-02-10 Thread Matt Benson
, Feb 9, 2009 at 2:27 PM, Matt Benson gudnabr...@yahoo.comwrote: Most likely your problem is not with generics, but simply with the fact that JXPath has a hard time using a collection as its root. The easiest workaround is to use some parent object to hold a reference to your container

Re: JXPath over Generic Collection?, How?

2009-02-10 Thread Matt Benson
) (and the children are allowed to be non-unique). This is equivalent to an XML element as it can contain multiple child elements, how do these guy's handle it I wonder? --Andrew On Wed, Feb 11, 2009 at 9:09 AM, Matt Benson gudnabr...@yahoo.com wrote: I admit I hadn't looked

Re: [JXPath] Set a property in the whole graph

2009-02-11 Thread Matt Benson
String xpath = descendant-or-self::id; for (IteratorPointer it = context.iteratePointers(xpath); it .hasNext();) { it.next().setValue(null); } HTH, Matt --- On Wed, 2/11/09, Adrian Mitev adrian.mi...@googlemail.com wrote: From: Adrian Mitev adrian.mi...@googlemail.com Subject:

Re: JXPath over Generic Collection?, How?

2009-02-11 Thread Matt Benson
again matt! I won't get to test this out til later tonight be look foward to seeing it working!!! Andrew On Wed, Feb 11, 2009 at 2:57 PM, Matt Benson gudnabr...@yahoo.com wrote: It should be as simple as Thing _containing_ a ListThing rather than _being_ a ListThing

Re: [beanutils] converting HTTP params into an arbitrary object model

2009-02-23 Thread Matt Benson
--- On Sat, 2/21/09, Adam Hardy ahardy.str...@cyberspaceroad.com wrote: From: Adam Hardy ahardy.str...@cyberspaceroad.com Subject: [beanutils] converting HTTP params into an arbitrary object model To: user@commons.apache.org Date: Saturday, February 21, 2009, 2:04 PM I have spent a day

Re: JXPath over Generic Collection?, How?

2009-02-23 Thread Matt Benson
, but is this behavior to be expected?   Cheers, --AH On Thu, Feb 12, 2009 at 6:43 AM, Matt Benson gudnabr...@yahoo.comwrote: --- On Wed, 2/11/09, Andrew Hughes ahhug...@gmail.com wrote: From: Andrew Hughes ahhug...@gmail.com Subject: Re: JXPath over Generic Collection

Re: JXPath over Generic Collection?, How?

2009-02-23 Thread Matt Benson
name literally is name, you must treat it as a child element rather than an attribute. So in your case you could either change name to title and query [...@title='foo'] or simply use [name='foo']. Regards, Matt --- On Mon, 2/23/09, Matt Benson gudnabr...@yahoo.com wrote: From: Matt Benson

Re: JXPath over Generic Collection?, How?

2009-02-23 Thread Matt Benson
); } } } On Tue, Feb 24, 2009 at 8:58 AM, Matt Benson gudnabr...@yahoo.com wrote: And the answer is:   In JXPath, a decision was made to overload the name attribute to refer to an element's property name WRT its parent.  The reason this was done was to support query maps with non-String keys

Re: [beanutils] converting HTTP params into an arbitrary object model

2009-02-24 Thread Matt Benson
Matt Benson on 23/02/09 16:23, wrote: --- On Sat, 2/21/09, Adam Hardy wrote: I have spent a day researching and prototyping with various open-source options available which facilitate converting an HTTP request's parameters into an object model of javabeans in a JPA persistence

Re: JXPath over Generic Collection?, How?

2009-03-04 Thread Matt Benson
' + expression + ' and got a class ' + value.getClass().getName() + ' with toString() ' +value.toString() + ');   }   } catch (Exception e) {   // TODO Auto-generated catch block   log.error(Failed to evaluate +expression,e);   }   } } On Fri, Feb 27, 2009 at 3:56 AM, Matt Benson gudnabr

Re: JXPath over Generic Collection?, How?

2009-03-04 Thread Matt Benson
. -Matt --- On Wed, 3/4/09, Matt Benson gudnabr...@yahoo.com wrote: From: Matt Benson gudnabr...@yahoo.com Subject: Re: JXPath over Generic Collection?, How? To: Commons Users List user@commons.apache.org Date: Wednesday, March 4, 2009, 7:57 AM Hi Andrew,   I agree that going through the list

Re: JXPath over Generic Collection?, How?

2009-03-11 Thread Matt Benson
requirement of JXPath and also where should I look to possibly 'fix' this if it indeed would compliment the current features? Thanks HEAPS! On Thu, Mar 5, 2009 at 3:05 AM, Matt Benson gudnabr...@yahoo.com wrote: Apparently the reason I was so ready to agree this was a bug that should

Re: [JXPath][BeanUtils] External Bean PropertyDescriptor?

2009-03-17 Thread Matt Benson
Possibly you can get some love registering a DynamicPropertyHandler class via JXPathIntrospector.registerDynamicClass(...). -Matt --- On Mon, 3/16/09, Andrew Hughes ahhug...@gmail.com wrote: From: Andrew Hughes ahhug...@gmail.com Subject: [JXPath][BeanUtils] External Bean

Re: [JXPath] Whitespace in Expression/Property

2009-03-17 Thread Matt Benson
Maybe /Earth/Australia/@name='New South Wales']/Sydney? :| -Matt --- On Mon, 3/16/09, Andrew Hughes ahhug...@gmail.com wrote: From: Andrew Hughes ahhug...@gmail.com Subject: [JXPath] Whitespace in Expression/Property To: Commons Users List user@commons.apache.org Date: Monday, March

Re: [ANN] commons-exec 1.0 released

2009-03-26 Thread Matt Benson
Great job seeing this through, Siegfried! -Matt --- On Thu, 3/26/09, Siegfried Goeschl siegfried.goes...@it20one.at wrote: From: Siegfried Goeschl siegfried.goes...@it20one.at Subject: [ANN] commons-exec 1.0 released To: Jakarta Commons Developers List d...@commons.apache.org, Jakarta

Re: commons-apache-jxpath: TestCase entry point

2009-04-09 Thread Matt Benson
There really isn't one. You simply run the testcases en masse... in what context are you trying to run the tests? -Matt --- On Thu, 4/9/09, Sullivan, Angela angela.sulli...@fmr.com wrote: From: Sullivan, Angela angela.sulli...@fmr.com Subject: commons-apache-jxpath: TestCase entry point

RE: commons-apache-jxpath: TestCase entry point

2009-04-16 Thread Matt Benson
as it's changed. I can't see what's it changed to. Thanks Angela -Original Message- From: Matt Benson [mailto:gudnabr...@yahoo.com] Sent: Thursday, April 09, 2009 7:09 PM To: Commons Users List Subject: Re: commons-apache-jxpath: TestCase entry point There really isn't

Re: [JXPath] Custom Functions the Current Pointer

2009-04-21 Thread Matt Benson
Hi, Andrew. Your example looks pretty good... what happens exactly when you try it? -Matt --- On Mon, 4/20/09, Andrew Hughes ahhug...@gmail.com wrote: From: Andrew Hughes ahhug...@gmail.com Subject: [JXPath] Custom Functions the Current Pointer To: Commons Users List

Re: [JXPath] Custom Functions the Current Pointer

2009-04-22 Thread Matt Benson
(com.blah.whatever.project., mynamespace)); That's it. On Tue, Apr 21, 2009 at 11:39 PM, Matt Benson gudnabr...@yahoo.com wrote: Hi, Andrew.  Your example looks pretty good... what happens exactly when you try it? -Matt --- On Mon, 4/20/09, Andrew Hughes ahhug...@gmail.com wrote

Re: [JXPath] Iterators and Pointers (on partial matches)

2009-06-04 Thread Matt Benson
Hi Andrew, I'm not sure if JXPath is necessarily really the right tool for this. This almost just looks like a sort of hierarchical lookup. I have a HierarchyTable we use at my $work for these type purposes; unfortunately I haven't yet gotten clearance to release it into the wild. I plan

Re: FaltFile.jar

2010-01-05 Thread Matt Benson
FWIW, there is a [flatfile] M2 snapshot published at repository.apache.org. -Matt On Jan 5, 2010, at 6:44 AM, Ben Short wrote: Hi, The project page [1] says that the code is unreleased. So you will need to build it yourself. The instructions are here [2]. Ben [1]

Re: collections 3.3 SNAPSHOT ?

2010-01-05 Thread Matt Benson
It would probably be collections 4.0 and there hasn't yet been a snapshot published, due to the as-yet unresolved questions of package renaming, etc. -Matt On Jan 5, 2010, at 5:31 AM, nicolas de loof wrote: Hi I'd like to use commons-collection 3.3 SNAPSHOT (to get Java5 syntax support)

Re: [Collections] Generics Support

2010-02-10 Thread Matt Benson
Much work has been done on the [collections] trunk; however noone has had time to finish it all up for a release. Searching the d...@commons.apache.org archives may give you an idea of what remains (off the top of my head, I can only think of the task of addressing all JIRA issues filed

Re: XLink support in JXPath?

2010-03-18 Thread Matt Benson
On Mar 17, 2010, at 9:31 PM, Farrukh Najmi wrote: Hi Guys, Does JXPath support processing of xlink simple links? Thanks for any pointers on how to process documents with simple xlinks using JXPath. No, I'm afraid JXPath contains no XLink support. Is it specified anyplace that an

Re: [Commons Math] Curious about Apache Commons Math

2010-03-19 Thread Matt Benson
Can you provide examples of advantages of using an automobile in preference to your provided feet? ;P -Matt On Mar 19, 2010, at 5:27 PM, Martin Gainty wrote: Bienvenue Luc! can you provide examples of any advantages of using Apache Math project over the provided java.Math library?

Re: Adapting legacy request parameters into new POJO?

2010-04-15 Thread Matt Benson
Notwithstanding that I find the previous post confusing on many levels, I would discourage this thread from continuing on the Commons list(s), despite the fact that I am the one who brought it up. Morph is not a Commons project and has its own lists. -Matt On 4/14/10, Martin Gainty

Re: RFC: Line Ending Conversion between Unix and Windows ....

2010-04-20 Thread Matt Benson
Echoing Sebastian, a possibility would be to port Ant's FixCrlfFilter (implements java.io.FilterReader) to [io]. Quite some changes would be needed, but this code has at least been heavily tested. -Matt On Apr 19, 2010, at 12:16 PM, Siegfried Goeschl wrote: Hi folks, I just had to type

Re: how much JXPath 1.3 is compliant with XPath 2.0

2010-04-20 Thread Matt Benson
On Apr 20, 2010, at 4:23 AM, Nicolas Hernandez wrote: Dear JXPath users, does someone know how much JXPath 1.3 is compliant with XPath 2.0 ? JXPath does not attempt to support anything that is specific to XPath 2.0. Does JXPath handle operators such as 'union', 'intersect', 'except' ?

Re: [beansutils] copyProperties when property names are different?

2010-08-18 Thread Matt Benson
I didn't want to say anything, but I can't in good conscience let somebody use Dozer without at least knowing Morph exists: http://morph.sourceforge.net . -Matt On Aug 18, 2010, at 2:42 AM, janne postilista wrote: Thanks. dozer seems great for my needs. On Tue, Aug 17, 2010 at 5:40 PM,

Re: [jxpath] Navigating across Lists

2011-05-16 Thread Matt Benson
On Mon, May 16, 2011 at 4:51 AM, Romain Rouvoy romain.rou...@lifl.fr wrote: Hi, I'm using JXPath to query a graph of beans, which are heavily using lists, e.g.: public class A {       ListB getB() {...} } public class B {       String getName() {...}       ListC getC() {...} }

Re: [jxpath] Navigating across Lists

2011-05-16 Thread Matt Benson
On Mon, May 16, 2011 at 2:16 PM, Romain Rouvoy romain.rou...@lifl.fr wrote: On 16 mai 2011, at 16:06, Matt Benson wrote: On Mon, May 16, 2011 at 4:51 AM, Romain Rouvoy romain.rou...@lifl.fr wrote: I'm using JXPath to query a graph of beans, which are heavily using lists, e.g.: public class

Re: [jxpath] Navigating across Lists

2011-05-16 Thread Matt Benson
On Mon, May 16, 2011 at 3:01 PM, Romain Rouvoy romain.rou...@lifl.fr wrote: On 16 mai 2011, at 21:38, Matt Benson wrote: On Mon, May 16, 2011 at 2:16 PM, Romain Rouvoy romain.rou...@lifl.fr wrote: On 16 mai 2011, at 16:06, Matt Benson wrote: On Mon, May 16, 2011 at 4:51 AM, Romain Rouvoy

Re: [jxpath] Navigating across Lists

2011-05-16 Thread Matt Benson
On Mon, May 16, 2011 at 3:22 PM, Romain Rouvoy romain.rou...@lifl.fr wrote: On 16 mai 2011, at 22:10, Matt Benson wrote: On Mon, May 16, 2011 at 3:01 PM, Romain Rouvoy romain.rou...@lifl.fr wrote: On 16 mai 2011, at 21:38, Matt Benson wrote: On Mon, May 16, 2011 at 2:16 PM, Romain Rouvoy

Travel Assistance applications open for ApacheCon North America 2011

2011-06-06 Thread Matt Benson
The Apache Software Foundation (ASF)'s Travel Assistance Committee (TAC) is now accepting applications for ApacheCon North America 2011, 7-11 November in Vancouver BC, Canada. The TAC is seeking individuals from the Apache community at-large --users, developers, educators, students, Committers,

Fwd: Reminder: TAC Assistance to ApacheCon NA 2011 closes July 8th

2011-07-03 Thread Matt Benson
-- Forwarded message -- From: Gavin McDonald ga...@16degrees.com.au Date: Sat, Jul 2, 2011 at 7:16 PM Subject: Reminder: TAC Assistance to ApacheCon NA 2011 closes July 8th To: p...@apache.org PMCs, please re-post this reminder to your user and dev lists and anywhere else you see

Re: [jxpath] Passing casting information within a path-based setter?

2011-07-29 Thread Matt Benson
Quick potential suggestions: - Set some property on the parent, and query it in your factory - Subclass TheObject and override the dataArray accessors to TheChild[] - Use a different factory instance that does what you want Matt On Fri, Jul 29, 2011 at 6:17 PM, Hippo Man hippo.mail...@gmail.com

Re: [jxpath] JXPath 1.4 release date

2011-08-16 Thread Matt Benson
Hi, Martin. No concrete plans as yet, but keep prodding and we'll see what can be done. :) Matt On Tue, Aug 16, 2011 at 8:25 AM, mainz...@bluewin.ch mainz...@bluewin.ch wrote: Hello First of all: Thanks for JXPath, it is a wonderful library that helps us a lot! I wanted to ask whether

Re: [jxpath] Issue in retrieving value jxpath

2011-09-23 Thread Matt Benson
On Wed, Sep 21, 2011 at 9:54 AM, Shamik Bandopadhyay sham...@gmail.com wrote: Hi,  I'm having an issue in parsing the following XML using jxpath. Here's the sample XML.  ?xml version=1.0 encoding=UTF-8? feed xmlns=http://www.w3.org/2005/Atom; xmlns:media= http://search.yahoo.com/mrss/;

Re: commons lang3: NullArgumentException missing?

2011-12-22 Thread Matt Benson
On Wed, Dec 21, 2011 at 3:41 PM, Karsten Wutzke kwut...@web.de wrote: Wow, the Java/JDK is getting dirtier and dirtier with every release. The code  public Foo(Bar bar) {     this.bar = Objects.requireNonNull(bar);  } looks really really awful to me. As opposed to this.bar =

Re: [FUNCTOR] Location for source?

2012-01-03 Thread Matt Benson
On Tue, Jan 3, 2012 at 10:16 AM, Ed Beaty ebe...@luminexcorp.com wrote: Hi, all.  Is the Commons Functor source still available for download, or has it been pulled in preparation for a formal release?  Currently (3 Jan 2012) none of the links  

Re: Class metadata repository

2012-02-18 Thread Matt Benson
Hi Chas, Some of us have been planning to work on a component of this type. Some of Simone Tripodi's ideas are in the [meiyo] sandbox project; the [classscan] sandbox area has also been reserved, but we haven't yet added anything here. Feel free to join in/start the discussion and submit

Re: [math] is 3.0 available via a public repository?

2012-03-26 Thread Matt Benson
http://search.maven.org/#artifactdetails%7Corg.apache.commons%7Ccommons-math3%7C3.0%7Cjar On Mon, Mar 26, 2012 at 5:11 PM, billy bob dtasse2...@yahoo.com wrote: The most recent version currently on maven central is 2.2.  Any idea when 3.0 will be available?

Re: [jxpath] - Error trying to query boolean values

2012-07-03 Thread Matt Benson
Have you tried /isUsaResident? Javabean property names typically begin with lower case. HTH, Matt On Tue, Jul 3, 2012 at 4:41 PM, Lucas Reginato lucas.regin...@gmail.com wrote: Hi, I’m facing a strange behavior using xPath to query boolean values. Every time I tried to query boolean

Re: [jxpath] - Error trying to query boolean values

2012-07-03 Thread Matt Benson
the java code that was generated? Maybe if the is methods where change to get method, will it work? -Lucas On Tue, Jul 3, 2012 at 6:55 PM, Matt Benson gudnabr...@gmail.com wrote: Have you tried /isUsaResident? Javabean property names typically begin with lower case. HTH, Matt On Tue

Re: [jxpath] - Error trying to query boolean values

2012-07-05 Thread Matt Benson
#Standard_Extension_Functions Do you think it's possible to file a new issue for this? -Lucas On Tue, Jul 3, 2012 at 10:33 PM, Matt Benson gudnabr...@gmail.com wrote: Good call; yes, being an Object Boolean, the is idiom does not work. Matt On Tue, Jul 3, 2012 at 8:11 PM, Lucas Reginato lucas.regin...@gmail.com

Re: [jxpath] - Error trying to query boolean values

2012-07-05 Thread Matt Benson
On Thu, Jul 5, 2012 at 12:14 PM, Matt Benson gudnabr...@gmail.com wrote: On Tue, Jul 3, 2012 at 8:58 PM, Lucas Reginato lucas.regin...@gmail.com wrote: I will try to make this change (from is method to get method) tomorrow and will send the results. But imagine the scenario: you have

Re: [jxpath] - Error trying to query boolean values

2012-07-05 Thread Matt Benson
(MethodFunction.java:79) ... 4 more The same happen for myschema.MyEntity.isIsUsaResident() Am I missing something? -Lucas On Thu, Jul 5, 2012 at 12:14 PM, Matt Benson gudnabr...@gmail.com wrote: On Tue, Jul 3, 2012 at 8:58 PM, Lucas Reginato lucas.regin...@gmail.com wrote: I

Re: [JXPath] Can JXPath help me with processing collection based tree?

2012-11-02 Thread Matt Benson
As Jun suggests, a custom extension function [1] is probably in order to keep your expressions reasonably (!) short. Assuming you want to use JXPath without modifying any of your existing code, I would recommend trying to write a custom function that makes the call to retrieve the name. Then

Re: [jxpath] Syntax with @name

2013-02-15 Thread Matt Benson
Have you tried [@name='dataDescription' and @tag='10'] or something along these lines? HTH, Matt On Fri, Feb 15, 2013 at 11:51 AM, Singh, Rupinder rupinder.si...@softwareag.com wrote: I have a jxpath expression question. Map m = new HashMap(); Map[] dd = new HashMap[2]; dd[0]

Re: [jxpath] querying an html file

2013-03-12 Thread Matt Benson
Can you put together a small test case that illustrates the problem? Matt On Tue, Mar 12, 2013 at 6:49 AM, MASTRELLA STEFANO smastre...@sogei.itwrote: Hi all, I'm trying to use jxpath-1.3 to query the content of some tags within an html fragment. Given the file 'html.frag.response.html'

Re: [math] Mean, Median but no Mode?

2013-07-04 Thread Matt Benson
I don't know about [math], but [lang] 3.x has mean, median and mode in ObjectUtils. Matt On Jul 4, 2013 10:25 AM, Ben Titmarsh ben.titma...@hotmail.co.uk wrote: Hi, I am looking for a library that can provide the mode ( http://en.wikipedia.org/wiki/Mode_%28statistics%29) of a set numbers.

Re: [proxy] Remove Remoting Providers in 2.x...

2013-07-29 Thread Matt Benson
Guilty ;-) On Jul 29, 2013 6:26 AM, James Carman ja...@carmanconsulting.com wrote: I did not intent to send it twice at all! :) I actually sent it from two different accounts. It didn't go through the first time, because the first account is not registered (someone must have moderated it

Re: [imaging] Plan for 1.0.0 release

2013-10-22 Thread Matt Benson
At some point I had had it in mind that ImageFormat should be converted to a proper enum type. Can anyone offer any reasons this should not be done, particularly before 1.0.0? Matt On Tue, Oct 22, 2013 at 1:44 PM, Damjan Jovanovic damjan@gmail.comwrote: Yes I agree, we might as well

Re: [imaging] Plan for 1.0.0 release

2013-10-22 Thread Matt Benson
, Matt Benson gudnabr...@gmail.com wrote: At some point I had had it in mind that ImageFormat should be converted to a proper enum type. Can anyone offer any reasons this should not be done, particularly before 1.0.0? Matt On Tue, Oct 22, 2013 at 1:44 PM, Damjan Jovanovic damjan

Re: What is 'jsvc' and how do I get rid of it?

2013-10-22 Thread Matt Benson
Are you running Java-based processes, e.g. Apache Tomcat or any derivative thereof, on this VM? Matt On Tue, Oct 22, 2013 at 3:17 PM, Jay Vee jvsr...@gmail.com wrote: I have a BSD VM that I pay for. I pay for memory usage and keep getting overage notices and have to pay a buck or two every

Re: What is 'jsvc' and how do I get rid of it?

2013-10-22 Thread Matt Benson
, 2013 at 2:41 PM, Matt Benson gudnabr...@gmail.com wrote: Are you running Java-based processes, e.g. Apache Tomcat or any derivative thereof, on this VM? Matt On Tue, Oct 22, 2013 at 3:17 PM, Jay Vee jvsr...@gmail.com wrote: I have a BSD VM that I pay for. I pay for memory usage

Re: [imaging] Plan for 1.0.0 release

2013-10-22 Thread Matt Benson
On Tue, Oct 22, 2013 at 9:23 PM, Matt Benson gudnabr...@gmail.com wrote: If the API will be extensible, that's perhaps a different matter, although in that case maybe the extensible part should be an interface implemented by ImageFormat's constants. In this case we could convert

[ANNOUNCEMENT] Apache Commons Weaver 1.0 Released

2014-03-17 Thread Matt Benson
The Apache Commons team is pleased to announce the release of: Apache Commons Weaver 1.0 Apache Commons Weaver provides an easy way to enhance compiled Java classes by generating (weaving) bytecode into those classes. Distribution packages can be downloaded from:

Re: [JXPATH] Am I doing something stupid here?

2014-04-25 Thread Matt Benson
Hi, John. Sorry for the long delay. The original authors of JXPath are long gone, but from what I can reconstruct the intent of nested JXPathContexts is only to unify treatment of things like variables, namespaces, and at a guess, functions. AFAICT your test case appears to have overcomplicated

Re: [JXPATH] Am I doing something stupid here?

2014-04-25 Thread Matt Benson
seem faster than the built-in JAXP stuff. -john On 04/25/2014 12:33 PM, Matt Benson wrote: Hi, John. Sorry for the long delay. The original authors of JXPath are long gone, but from what I can reconstruct the intent of nested JXPathContexts is only to unify treatment of things like

[ANNOUNCEMENT] Apache Commons Weaver 1.1 Released

2014-09-30 Thread Matt Benson
The Apache Commons team is pleased to announce the release of: Apache Commons Weaver 1.1 Apache Commons Weaver provides an easy way to enhance compiled Java classes by generating (weaving) bytecode into those classes. The release notes can be reviewed at:

Re: [codec] - change transitive dependency from commons-codec-1.3 to 1.6 or 1.9

2014-10-16 Thread Matt Benson
May I also suggest you read [1]. [1] http://semver.org/ Matt On Oct 16, 2014 8:10 AM, Gary Gregory garydgreg...@gmail.com wrote: In theory, no, but you should read the release notes. Gary On Thu, Oct 16, 2014 at 7:17 AM, GIPA mbH Di Ly d...@gipa.de wrote: Our software has a transitive

Re: Reflection Utils

2015-05-30 Thread Matt Benson
The recent release of Lang does provide a method to get fields with a particular annotation. Matt On May 30, 2015 7:27 AM, Timo mailant...@gmx.de wrote: Thank you for the suggestions! Commons Weaver kind of has a way to do what I want, but it's... ehm... woven with the rest of the project

[ANNOUNCE] Apache Commons Weaver 1.2 Released

2016-02-04 Thread Matt Benson
The Apache Commons Team is pleased to announce the availability of: Apache Commons Weaver 1.2 Apache Commons Weaver provides an easy way to enhance compiled Java classes by generating ("weaving") bytecode into those classes. The release notes can be reviewed at:

[ANNOUNCE] Apache Commons Weaver 1.3 Released

2016-10-18 Thread Matt Benson
The Apache Commons Team is pleased to announce the availability of: Apache Commons Weaver 1.3 Apache Commons Weaver provides an easy way to enhance compiled Java classes by generating ("weaving") bytecode into those classes. The release notes can be reviewed at:

Re: [LANG] Object Merge Functionality

2016-11-30 Thread Matt Benson
There should be multiple existing open source Java libraries to do this type of thing. Shameless* plug: one such is my own https://github.com/mbenson/therian . Agree this is out of scope for [lang] and that [beanutils] would be more appropriate. Matt * Maybe there was a little shame. On Nov

[ANNOUNCE] Apache Commons Weaver 2.0 released

2018-09-07 Thread Matt Benson
The Apache Commons Team is pleased to announce the availability of: Apache Commons Weaver 2.0 Apache Commons Weaver provides an easy way to enhance compiled Java classes by generating ("weaving") bytecode into those classes. The release notes can be reviewed at: