Wiki update about complex expressions [message #325499] |
Wed, 20 February 2008 06:15  |
Eclipse User |
|
|
|
Originally posted by: jan-hendrik.diederich.bredex.de
The Command Core Expressions explanation on
http://wiki.eclipse.org/Command_Core_Expressions is incomplete. While the
command core expressions support complete complex nested boolean
expressions,
it's never mentioned in a single word or example. You can, to my knowledge
-
tell me if I'm wrong - insert boolean expressions like "(a & b & (c | d |
(!e)))". But after reading the Wiki you get the impression it's declared
in the
xsd but not officially supported, since also the javadoc in the
corresponding
xsd never mentions it. Referring to the given example above the declaration
would look like this:
<and>
<test args="a" property="rcpAuthActivitiesExample.test1" />
<test args="b" property="rcpAuthActivitiesExample.test2" />
<or>
<test args="c" property="rcpAuthActivitiesExample.test3" />
<test args="d" property="rcpAuthActivitiesExample.test4" />
<not>
<test args="e" property="rcpAuthActivitiesExample.test5" />
</not>
</or>
</and>
(That I took property testers for this example has no special meaning, they
were just very convenient for this example, choose whatever you think fits
better.)
So, is that true that this complex expressions are supported?
If it's true I would really like to update the Wiki, at best with the
example I gave here.
Please answer me, enlightend Eclipse Expression Professionals
:-)
|
|
|
|
Re: Wiki update about complex expressions [message #325629 is a reply to message #325541] |
Sat, 23 February 2008 13:06  |
Eclipse User |
|
|
|
Originally posted by: jan-hendrik.diederich.bredex.de
Paul Webster wrote:
> ... why do you assume that the official document that
> describes the schema is not officially supported?
I just got the impression, like: this should work, but who does this
anyway? And why? An our unit tests for this are only superficial. It's
just that I mistrust any undocumented feature. But you're right: the .xsd
should be enough reliable documentation.
Later,
Jan
|
|
|
Powered by
FUDForum. Page generated in 0.02749 seconds