| Joerg Fischer 2004-11-08, 7:46 am |
| Hi,
Concerning the use of business rules, I have a strange issue:
Given a rule based on a vocabulary:
IF
EntryDocId is equal to DocId
THEN
SetAttribute EntryId has CorrectDocReference
The nodes EntryDocId, DocId and EntryId are XML Vocabulary; EntryDocId,
EntryId share the same XPath Selector.
SetAttribute is a .NET function to be called; CorrectDocReference is a
constant.
Now, the above rule gets executed correctly; however, EntryId is not
evaluated correctly - instead, I get the value of EntryDocId presented to my
..NET Code.
The first assumption was that there is an error in my vocabulary. However,
this is not the case; when I change the conditional part of the rule to "1
is equal to 1", I get the correct values presented.
Can anyone give me an enlightment on that? All vocabulary definitions have
been designed without schema as a base (by hand, using XPath).
Thanks!
Sincerely
Joerg Fischer
|