feedparser
If http://commons.apache.org/sandbox/feedparser/downloads.html doesn't have any downloads, then to use the project you have to checkout the code and compile the jar yourself? Ok, but why? -Thufir - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org
Re: [SCXML] Javascript as expression language
Hi Ingmar, I'm not in a hurry but wanted to know if this was still likely to happen. Thanks for the reply! Roger On Mon, Apr 27, 2009 at 1:45 PM, Ingmar Kliche wrote: > Hi Roger, > you are right - this is still an open issue. Sorry for the "delay". > Beginning from May (this year ;-) I will have a (part time) intern and I > will put him on this issue first. So there is good hope. If you can wait > for > another few days? Sorry again. > > - Ingmar. > > 2009/4/24 Roger Hoover > > > Hi Ingmar, > > > > Did this ever get released? > > > > Thanks, > > > > Roger > > > > On Tue, Dec 16, 2008 at 1:58 PM, Rahul Akolkar > >wrote: > > > > > On Tue, Dec 16, 2008 at 1:27 PM, Ingmar Kliche > > > wrote: > > > > Hi Roger, > > > > > > > > yes, we have implemented it and plan to provide it to the project > quite > > > > soon. But the licensing issue is a good point and should be > clarified. > > > > Technically the implementation needs some final cleanup and things > like > > > test > > > > cases. If you can wait another couple of weeks (due to holiday > season) > > it > > > > should be available. > > > > > > > > > > > > > Looking forward to it as well (that will reduce the min. JDK > > > requirement for using Rhino I presume). > > > > > > -Rahul > > > > > > > > > > > > > Regards, > > > > Ingmar. > > > > > > > > 2008/12/16 Roger Hoover > > > > > > > >> Hi, > > > >> > > > >> Has anyone implemented Javascript as an expression language in SCXML > > > Common > > > >> with Rhino? Would there be licensing issues with SCXML under Apache > > > >> license > > > >> and Rhino under MPL/GPL/LGPL triple license? > > > >> > > > >> If it can't be done as part of this project, how hard would it be to > > > >> implement externally and do others have interest in it? > > > >> > > > >> Thanks, > > > >> > > > >> Roger > > > >> > > > > > > > > > > - > > > To unsubscribe, e-mail: user-unsubscr...@commons.apache.org > > > For additional commands, e-mail: user-h...@commons.apache.org > > > > > > > > >
Re: [SCXML] Javascript as expression language
Hi Roger, you are right - this is still an open issue. Sorry for the "delay". Beginning from May (this year ;-) I will have a (part time) intern and I will put him on this issue first. So there is good hope. If you can wait for another few days? Sorry again. - Ingmar. 2009/4/24 Roger Hoover > Hi Ingmar, > > Did this ever get released? > > Thanks, > > Roger > > On Tue, Dec 16, 2008 at 1:58 PM, Rahul Akolkar >wrote: > > > On Tue, Dec 16, 2008 at 1:27 PM, Ingmar Kliche > > wrote: > > > Hi Roger, > > > > > > yes, we have implemented it and plan to provide it to the project quite > > > soon. But the licensing issue is a good point and should be clarified. > > > Technically the implementation needs some final cleanup and things like > > test > > > cases. If you can wait another couple of weeks (due to holiday season) > it > > > should be available. > > > > > > > > > Looking forward to it as well (that will reduce the min. JDK > > requirement for using Rhino I presume). > > > > -Rahul > > > > > > > > > Regards, > > > Ingmar. > > > > > > 2008/12/16 Roger Hoover > > > > > >> Hi, > > >> > > >> Has anyone implemented Javascript as an expression language in SCXML > > Common > > >> with Rhino? Would there be licensing issues with SCXML under Apache > > >> license > > >> and Rhino under MPL/GPL/LGPL triple license? > > >> > > >> If it can't be done as part of this project, how hard would it be to > > >> implement externally and do others have interest in it? > > >> > > >> Thanks, > > >> > > >> Roger > > >> > > > > > > > - > > To unsubscribe, e-mail: user-unsubscr...@commons.apache.org > > For additional commands, e-mail: user-h...@commons.apache.org > > > > >
Re: [JXPath] Questions about pointers, listeners & filters
Why don't you share us the solutions? On Mon, Apr 27, 2009 at 4:50 PM, Andrew Hughes wrote: > I think I have a solution for both based on JXPath. > > Cheers && a HUGE thank's to JXPath && Matt. > > > On Fri, Apr 24, 2009 at 12:09 PM, Andrew Hughes wrote: > >> Hi All - probably just Matt tho :) >> I've had some great results with JXPath, and I am now getting down to the >> nitty/gritty of what I am trying to achieve. Which is quite complex and I've >> no doubt that more experienced people than me exist in this area! Help is >> once again greatly appreciated!!! >> >> Background: I am dealing with dynamic objects (Nodes). Node's >> appear/disappear at runtime and are encapsulated in a heirarchy of HashMap's >> for JXPath's context bean. This works fantastic, but I have two remaining >> mandatory requirements. >> >> Requirement 1: Listening >> As a new node appears, listeners defined as expressions would like to know >> about this. For example, someone would like to know if a Ferrari ever >> appears in the context bean: //c...@name="Ferrari"] >> or /Transport/Vehicle/c...@name="Ferrari"]. I believe that I should be >> testing is if the newly created/removed node/pointer is found in any of the >> supplied listening expressions? Ideally this can be done by traversing the >> minimal number of object's as possible - and could be too inefficient :'( >> for use. >> >> Requirement 2: Filtering. >> As a new node appear's I would like to know if I should include this node >> in the context bean hierarchy (i.e. addNewChild()) or ignore it. The >> criteria is if the new node is found using an expression (include or >> exclude). For example, if we don't deal with China then we might have an >> exclude expression /World/Asia/China or /World/Asia/*. Can I determine if >> the new node is within an includes/excludes expression without having to add >> the node to the context, then testing, then removing - becuase this has the >> potential to falsly invoke listeners in Requirement #1 >> >> I'd like to know if there is any helpful functionality within jxpath that I >> am unaware of. I suspect there is >> >> >> As usual... I'm incredibly thankful for any help I can get :) >> >> > -- Although nobody can come back and make a new start, anyone can start now and make a new end - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org
Re: [SCXML] Javascript as expression language
On Fri, Apr 24, 2009 at 12:45 AM, Roger Hoover wrote: > Hi Ingmar, > > Did this ever get released? > Not as part of Commons SCXML yet, which is the bit I'm more aware of. -Rahul > Thanks, > > Roger > > On Tue, Dec 16, 2008 at 1:58 PM, Rahul Akolkar wrote: > >> On Tue, Dec 16, 2008 at 1:27 PM, Ingmar Kliche >> wrote: >> > Hi Roger, >> > >> > yes, we have implemented it and plan to provide it to the project quite >> > soon. But the licensing issue is a good point and should be clarified. >> > Technically the implementation needs some final cleanup and things like >> test >> > cases. If you can wait another couple of weeks (due to holiday season) it >> > should be available. >> > >> >> >> Looking forward to it as well (that will reduce the min. JDK >> requirement for using Rhino I presume). >> >> -Rahul >> >> >> >> > Regards, >> > Ingmar. >> > >> > 2008/12/16 Roger Hoover >> > >> >> Hi, >> >> >> >> Has anyone implemented Javascript as an expression language in SCXML >> Common >> >> with Rhino? Would there be licensing issues with SCXML under Apache >> >> license >> >> and Rhino under MPL/GPL/LGPL triple license? >> >> >> >> If it can't be done as part of this project, how hard would it be to >> >> implement externally and do others have interest in it? >> >> >> >> Thanks, >> >> >> >> Roger >> >> >> > >> - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org
Re: [SCXML] getting set datats in the datamodel
On Mon, Apr 27, 2009 at 10:05 AM, Anna Södling wrote: > Hi, > Is there anyone who has any idea what to do about this? Even a little > hint would be appreciated, you don't have to solve the whole problem! > Reply inline below. > /Linda > > <-Ursprungligt Meddelande-> > From: Linda Erlenhov [u...@commons.apache.org] > Sent: 23/4/2009 2:30:58 PM > To: Commons Users List > Subject: Re: [SCXML] getting set datats in the datamodel > > Hello again! > This seems to work, since we now can see that data has changed. > Unfortunately, we seem to have missed out an important part of the > question. In addition to being notified when a data value is set, we > also would like to be able to "get/recieve" the new data value aswell as > the > name (in this case numdat) so that we can display it to the screen in > our > interface. > And, in this example we only have one data value, NumDat. However, it > is possible to define several data values insade the DynamicData-tag. > Can we still just write expr="DynamicData"/> after the first assign tag, or do we also have to > define what data value has been changed? You will find that as more and more of the application-specific patterns (and requirements) emerge, it is convenient to encapsulate these patterns as custom actions (perhaps a time to rethink the no custom action constraint). Without that, you could always store the name (lets call it 'delta', which signifies that it identifies the change) in the root context, update it with every assign as needed and look it up for your notifications, so along these lines (continuing example from earlier in this thread): ... ... and the Context#set() method previously discussed would then change along these lines: public void set(String name, Object value) { // inherit behavior super.set(name, value); // notifications you need // the second param is the new info needed notify(name, get("delta"), value); } Now, OTOH, all of this can really be distilled into a compact custom action such as: whose implementation encapsulates the pattern of updates and notifications as needed by the application and thereby leaves the markup cleaner. -Rahul > Sincerely, > > Linda > > >> >> >> Yup, I see what you are running into. Unfortunately for the specific >> usage pattern here, the two variations have different >> semantics as follows: >> >> 1) >> is a set operation, which produces a Context#set(...) call >> >> 2) >> is really a mutation operation, it retrieves the XML tree >> (stored as a DOM node in memory) and manipulates it -- there is no >> call to Context#set(...) >> >> >> >> How do I notify when my DynamicData has changed? >> >> >> >> >> ISTR that you prefer to not use custom actions. With those >> constraints, one option (since you are generating all the SCXML) is to >> accomodate for the above variation via the SCXML markup itself -- so >> you could generate a redundant identity assignment to trigger the >> Context#set(...) call like so: >> >> >> > expr="Data(DynamicData,'NumDat')+1"/> >> >> >> >> -Rahul >> > - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org
Re: [SCXML] getting set datats in the datamodel
Hi, Is there anyone who has any idea what to do about this? Even a little hint would be appreciated, you don't have to solve the whole problem! /Linda <-Ursprungligt Meddelande-> From: Linda Erlenhov [u...@commons.apache.org] Sent: 23/4/2009 2:30:58 PM To: Commons Users List Subject: Re: [SCXML] getting set datats in the datamodel Hello again! This seems to work, since we now can see that data has changed. Unfortunately, we seem to have missed out an important part of the question. In addition to being notified when a data value is set, we also would like to be able to "get/recieve" the new data value aswell as the name (in this case numdat) so that we can display it to the screen in our interface. And, in this example we only have one data value, NumDat. However, it is possible to define several data values insade the DynamicData-tag. Can we still just write after the first assign tag, or do we also have to define what data value has been changed? Sincerely, Linda > > > Yup, I see what you are running into. Unfortunately for the specific > usage pattern here, the two variations have different > semantics as follows: > > 1) > is a set operation, which produces a Context#set(...) call > > 2) > is really a mutation operation, it retrieves the XML tree > (stored as a DOM node in memory) and manipulates it -- there is no > call to Context#set(...) > > > >> How do I notify when my DynamicData has changed? > >> > > > ISTR that you prefer to not use custom actions. With those > constraints, one option (since you are generating all the SCXML) is to > accomodate for the above variation via the SCXML markup itself -- so > you could generate a redundant identity assignment to trigger the > Context#set(...) call like so: > > > expr="Data(DynamicData,'NumDat')+1"/> > > > > -Rahul > ___
Re: Status of Commons Compress
Christian Grobmeier wrote: However, Compress hasn't been used much in production, so Ants code is more tested. Cheers, Christian Thanks much for the responses, guys. As this needs to go into a pretty critical production system, it sounds like it's probably best to stick with Ant for now. Thanks again, DR - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org
Re: [JXPath] Questions about pointers, listeners & filters
I think I have a solution for both based on JXPath. Cheers && a HUGE thank's to JXPath && Matt. On Fri, Apr 24, 2009 at 12:09 PM, Andrew Hughes wrote: > Hi All - probably just Matt tho :) > I've had some great results with JXPath, and I am now getting down to the > nitty/gritty of what I am trying to achieve. Which is quite complex and I've > no doubt that more experienced people than me exist in this area! Help is > once again greatly appreciated!!! > > Background: I am dealing with dynamic objects (Nodes). Node's > appear/disappear at runtime and are encapsulated in a heirarchy of HashMap's > for JXPath's context bean. This works fantastic, but I have two remaining > mandatory requirements. > > Requirement 1: Listening > As a new node appears, listeners defined as expressions would like to know > about this. For example, someone would like to know if a Ferrari ever > appears in the context bean: //c...@name="Ferrari"] > or /Transport/Vehicle/c...@name="Ferrari"]. I believe that I should be > testing is if the newly created/removed node/pointer is found in any of the > supplied listening expressions? Ideally this can be done by traversing the > minimal number of object's as possible - and could be too inefficient :'( > for use. > > Requirement 2: Filtering. > As a new node appear's I would like to know if I should include this node > in the context bean hierarchy (i.e. addNewChild()) or ignore it. The > criteria is if the new node is found using an expression (include or > exclude). For example, if we don't deal with China then we might have an > exclude expression /World/Asia/China or /World/Asia/*. Can I determine if > the new node is within an includes/excludes expression without having to add > the node to the context, then testing, then removing - becuase this has the > potential to falsly invoke listeners in Requirement #1 > > I'd like to know if there is any helpful functionality within jxpath that I > am unaware of. I suspect there is > > > As usual... I'm incredibly thankful for any help I can get :) > >