09-15-05 01:49 AM
I have a business rule based on the following schema:
<ns0:Root
xmlns:ns0="http://InteriorHealth.Orchestrations.MeditechADT.RouteFilter">
<Location>ZECN</Location>
<Facility>XYZ</Facility>
<Route>
<InterRai>true</InterRai>
<Promis>true</Promis>
</Route>
<TestB>true</TestB>
<TestS>TestS_0</TestS>
</ns0:Root>
In one version of the rule, I update the InterRai node to true if the
location node is ZECN. When I test this, I get the error "The value of
arguments facts cannot be null". So as a test, I updated the TestB node to
True instead, and it works. The only difference is that the InterRai Node is
nested inside a a node, where the TestB Node is inside the root node.
I'm sure I defined the vocabulary correctly for these two nodes, the xpath
is as follows:
/*[local-name()='Root' and
namespace-uri()='http://InteriorHealth.Orchestrations.MeditechADT.RouteFilte
r']/*[local-name()='Route'
and namespace-uri()='']
*[local-name()='InterRai' and namespace-uri()='']
/*[local-name()='Root' and
namespace-uri()='http://InteriorHealth.Orchestrations.MeditechADT.RouteFilte
r']
*[local-name()='TestB' and namespace-uri()='']
Can the rules engine not handle certain types of schema?
[ Post a follow-up to this message ]
|