JESS: introspection of shadow facts from 7.0 to 7.1

2008-07-14 Thread Skeptic 2000
Hi, I updated from 7.0p1 to 7.1 recently and JessDE doesn't recognize the stuff specified in my BeanInfo classes anymore (it still works at runtime). Is there some official changes in the introspection mechanisms? Thanks for help.

JESS: Slot name restrictions

2008-07-14 Thread Greenblatt, Alan
I see there is a new restriction with 7.1 that slot names may not contain a period ('.'). We will not be able to upgrade our platform to 7.1 as long as this restriction is in place. We use URI's as slot names, where periods are accepted and common (e.g. http://en.wikipedia.org/wiki/URI

Re: JESS: Slot name restrictions

2008-07-14 Thread Peter Lin
I could be wrong, but the restriction is needed because of the java dot notation functionality. http://www.jessrules.com/jess/docs/71/rules.html#patterns_simple Jess (defrule two-same-age-different-name ?person1 - (person) ?person2 - (person {age == person1.age lastName !=

Re: JESS: Slot name restrictions

2008-07-14 Thread Wolfgang Laun
Are these slot names generated by a program or written by hand? Is there any chance of using %2e instead of a period? According to RFC 2396, this is an alternative representation. Wolfgang On Mon, Jul 14, 2008 at 6:14 PM, Greenblatt, Alan [EMAIL PROTECTED] wrote: I see there is a new

RE: JESS: Slot name restrictions

2008-07-14 Thread Greenblatt, Alan
There are a couple of significant problems with that option: 1. We need to roundtrip the data. I.e. We have a middleware platform with an embedded Jess engine. We need to be able to not only be able to asserts facts based on data entering our platform, but also be able to regenerate data based

RE: JESS: Slot name restrictions

2008-07-14 Thread Harrison, Gregory A
It is interesting that such an OS-type term was chosen in the first place. It seems like it would have been a risk, and here the risk has come to fore. Perhaps in the new implementation you will choose a less risky means to encapsulate the information in a data structure that may be more similar

RE: JESS: Slot name restrictions

2008-07-14 Thread Greenblatt, Alan
I think I'm missing something. Where did any OS-type terms enter this? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harrison, Gregory A Sent: Monday, July 14, 2008 3:16 PM To: jess-users@sandia.gov Subject: RE: JESS: Slot name restrictions It is

RE: JESS: Slot name restrictions

2008-07-14 Thread Harrison, Gregory A
The dot '.' maybe I misread your posts but that seems similar to using a slash or backslash '/ \' Maybe there should be an acceptable set of characters listed (unless this was one of the acceptable characters and they just took it off the list, in which case that would be troublesome)

RE: JESS: Slot name restrictions

2008-07-14 Thread Greenblatt, Alan
That's it exactly. The dot became a restricted character in 7.1. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harrison, Gregory A Sent: Monday, July 14, 2008 3:47 PM To: jess-users@sandia.gov Subject: RE: JESS: Slot name restrictions The dot '.'

Re: JESS: Slot name restrictions

2008-07-14 Thread Peter Lin
I could be wrong, but the new . dot notation is a new feature of JESS 7. JESS 6 didn't support dot notation for accessing slots in the LHS or RHS. In JESS 7.0, it didn't restrict the use of . in the slot name, but JESS 7.1 does have the restriction. I prefer lisp syntax myself, so I tend to stay

Re: JESS: introspection of shadow facts from 7.0 to 7.1

2008-07-14 Thread Ernest Friedman-Hill
On Jul 14, 2008, at 10:30 AM, Skeptic 2000 wrote: Hi, I updated from 7.0p1 to 7.1 recently and JessDE doesn't recognize the stuff specified in my BeanInfo classes anymore (it still works at runtime). Is there some official changes in the introspection mechanisms? Jess itself

Re: JESS: Slot name restrictions

2008-07-14 Thread Ernest Friedman-Hill
As folks have pointed out already, this restriction is in support of the new Java patterns syntax, which gives special meaning to the syntax templateName.slotName. Otherwise, Jess actually doesn't care. As a temporary measure, you can comment lines 1293 and 1294 in jess/ Jesp.java, and the