I am using an Xpath expression "if-xpath not-true
"$var-xml-IsProv/xml/child::node()" where local variable var-xml-IsProv
is holding a blank xml with a tab space [<xml>

</xml>], due to this tab space above Xpath expression is evaluating to
Flase, but this should be True becoz this xml variable is not having any
node.
I have attached the driver log as well.

</nds>
[07/04/09 14:58:05.148]:CHW_UP_Driver_IvosPl ST: (if-src-attr
'chwUPIvosPlIsProv' available) = TRUE.
[07/04/09 14:58:05.148]:CHW_UP_Driver_IvosPl ST: Rule selected.
[07/04/09 14:58:05.148]:CHW_UP_Driver_IvosPl ST: Applying rule 'Set
IsProv'.
[07/04/09 14:58:05.149]:CHW_UP_Driver_IvosPl ST: Action:
do-set-local-variable("var-str-IsProv",scope="driver",token-src-attr("chwUPIvosPlIsProv",class-name="User",arg-dn(token-src-dn()))).
[07/04/09 14:58:05.149]:CHW_UP_Driver_IvosPl ST:
arg-string(token-src-attr("chwUPIvosPlIsProv",class-name="User",arg-dn(token-src-dn())))
[07/04/09 14:58:05.150]:CHW_UP_Driver_IvosPl ST:
token-src-attr("chwUPIvosPlIsProv",class-name="User",arg-dn(token-src-dn()))
[07/04/09 14:58:05.150]:CHW_UP_Driver_IvosPl ST:
arg-dn(token-src-dn())
[07/04/09 14:58:05.151]:CHW_UP_Driver_IvosPl ST:
token-src-dn()
[07/04/09 14:58:05.151]:CHW_UP_Driver_IvosPl ST: Token
Value: "\CHWIDVTREE\CHWIDV\Users\AGoel".
[07/04/09 14:58:05.151]:CHW_UP_Driver_IvosPl ST: Arg
Value: "\CHWIDVTREE\CHWIDV\Users\AGoel".
[07/04/09 14:58:05.152]:CHW_UP_Driver_IvosPl ST: Token
Value: "<xml>

</xml>".
[07/04/09 14:58:05.152]:CHW_UP_Driver_IvosPl ST: Arg Value:
"<xml>

</xml>".
[07/04/09 14:58:05.152]:CHW_UP_Driver_IvosPl ST: Action:
do-set-local-variable("*var-xml-IsProv*",scope="driver",arg-node-set(token-xml-parse(token-local-variable("var-str-IsProv")))).
[07/04/09 14:58:05.153]:CHW_UP_Driver_IvosPl ST:
arg-node-set(token-xml-parse(token-local-variable("var-str-IsProv")))
[07/04/09 14:58:05.153]:CHW_UP_Driver_IvosPl ST:
token-xml-parse(token-local-variable("var-str-IsProv"))
[07/04/09 14:58:05.153]:CHW_UP_Driver_IvosPl ST:
token-xml-parse(token-local-variable("var-str-IsProv"))
[07/04/09 14:58:05.154]:CHW_UP_Driver_IvosPl ST:
token-local-variable("var-str-IsProv")
[07/04/09 14:58:05.154]:CHW_UP_Driver_IvosPl ST: Token
Value: "<xml>

</xml>".
[07/04/09 14:58:05.154]:CHW_UP_Driver_IvosPl ST: Arg
Value: "<xml>

</xml>".
[07/04/09 14:58:05.155]:CHW_UP_Driver_IvosPl ST: Token Value:
{/}.
[07/04/09 14:58:05.155]:CHW_UP_Driver_IvosPl ST: Arg Value:
{/}.
[07/04/09 14:58:05.168]:CHW_UP_Driver_IvosPl ST: Token
Value: "<?xml version="1.0" encoding="UTF-8"?><xml><Role
id="cn=TestReport01,cn=FinancialOps,cn=FinancialOp sP,cn=SJHMC,cn=CHW,cn=Level20,cn=RoleDefs,cn=RoleC onfig,cn=AppConfig,cn=CHW_UP_Driver_UserApplicatio n,cn=UProvDriverSet,o=CHWIDV"
provStatus="Y" status="enabled"><AppEntl id="ERSPharmacyGroup">ERS -
Pharmacy</AppEntl></Role><UIDGroup provStatus="Y" status="Active"><UID
id="Testing" provStatus="Y" pwdStatus="N"
status="enabled"><Roles><ref>cn=TestReport01,cn=Fi nancialOps,cn=FinancialOpsP,cn=SJHMC,cn=CHW,cn=Lev el20,cn=RoleDefs,cn=RoleConfig,cn=AppConfig,cn=CHW _UP_Driver_UserApplication,cn=UProvDriverSet,o=CHW IDV</ref></Roles><pwd
isInitial="Y"
pwdChangeDate="1246697559509">password</pwd></UID></UIDGroup></xml>".
[07/04/09 14:58:05.170]:CHW_UP_Driver_IvosPl ST: Arg Value:
"<?xml version="1.0" encoding="UTF-8"?><xml><Role
id="cn=TestReport01,cn=FinancialOps,cn=FinancialOp sP,cn=SJHMC,cn=CHW,cn=Level20,cn=RoleDefs,cn=RoleC onfig,cn=AppConfig,cn=CHW_UP_Driver_UserApplicatio n,cn=UProvDriverSet,o=CHWIDV"
provStatus="Y" status="enabled"><AppEntl id="ERSPharmacyGroup">ERS -
Pharmacy</AppEntl></Role><UIDGroup provStatus="Y" status="Active"><UID
id="Testing" provStatus="Y" pwdStatus="N"
status="enabled"><Roles><ref>cn=TestReport01,cn=Fi nancialOps,cn=FinancialOpsP,cn=SJHMC,cn=CHW,cn=Lev el20,cn=RoleDefs,cn=RoleConfig,cn=AppConfig,cn=CHW _UP_Driver_UserApplication,cn=UProvDriverSet,o=CHW IDV</ref></Roles><pwd
isInitial="Y"
pwdChangeDate="1246697559509">password</pwd></UID></UIDGroup></xml>".
[07/04/09 14:58:05.172]:CHW_UP_Driver_IvosPl ST: Action:
do-set-local-variable("var-xml-Priv",scope="driver",arg-node-set(token-xml-parse(token-local-variable("var-str-Priv")))).
[07/04/09 14:58:05.173]:CHW_UP_Driver_IvosPl ST:
arg-node-set(token-xml-parse(token-local-variable("var-str-Priv")))
[07/04/09 14:58:05.173]:CHW_UP_Driver_IvosPl ST:
token-xml-parse(token-local-variable("var-str-Priv"))
[07/04/09 14:58:05.174]:CHW_UP_Driver_IvosPl ST:
token-xml-parse(token-local-variable("var-str-Priv"))
[07/04/09 14:58:05.174]:CHW_UP_Driver_IvosPl ST:
token-local-variable("var-str-Priv")
[07/04/09 14:58:05.174]:CHW_UP_Driver_IvosPl ST: Token
Value: "<?xml version="1.0" encoding="UTF-8"?><xml><Role
id="cn=TestReport01,cn=FinancialOps,cn=FinancialOp sP,cn=SJHMC,cn=CHW,cn=Level20,cn=RoleDefs,cn=RoleC onfig,cn=AppConfig,cn=CHW_UP_Driver_UserApplicatio n,cn=UProvDriverSet,o=CHWIDV"
provStatus="Y" status="enabled"><AppEntl id="ERSPharmacyGroup">ERS -
Pharmacy</AppEntl></Role><UIDGroup provStatus="Y" status="Active"><UID
id="Testing" provStatus="Y" pwdStatus="N"
status="enabled"><Roles><ref>cn=TestReport01,cn=Fi nancialOps,cn=FinancialOpsP,cn=SJHMC,cn=CHW,cn=Lev el20,cn=RoleDefs,cn=RoleConfig,cn=AppConfig,cn=CHW _UP_Driver_UserApplication,cn=UProvDriverSet,o=CHW IDV</ref></Roles><pwd
isInitial="Y"
pwdChangeDate="1246697559509">password</pwd></UID></UIDGroup></xml>".
[07/04/09 14:58:05.177]:CHW_UP_Driver_IvosPl ST: Arg
Value: "<?xml version="1.0" encoding="UTF-8"?><xml><Role
id="cn=TestReport01,cn=FinancialOps,cn=FinancialOp sP,cn=SJHMC,cn=CHW,cn=Level20,cn=RoleDefs,cn=RoleC onfig,cn=AppConfig,cn=CHW_UP_Driver_UserApplicatio n,cn=UProvDriverSet,o=CHWIDV"
provStatus="Y" status="enabled"><AppEntl id="ERSPharmacyGroup">ERS -
Pharmacy</AppEntl></Role><UIDGroup provStatus="Y" status="Active"><UID
id="Testing" provStatus="Y" pwdStatus="N"
status="enabled"><Roles><ref>cn=TestReport01,cn=Fi nancialOps,cn=FinancialOpsP,cn=SJHMC,cn=CHW,cn=Lev el20,cn=RoleDefs,cn=RoleConfig,cn=AppConfig,cn=CHW _UP_Driver_UserApplication,cn=UProvDriverSet,o=CHW IDV</ref></Roles><pwd
isInitial="Y"
pwdChangeDate="1246697559509">password</pwd></UID></UIDGroup></xml>".
[07/04/09 14:58:05.179]:CHW_UP_Driver_IvosPl ST: Token Value:
{/}.
[07/04/09 14:58:05.179]:CHW_UP_Driver_IvosPl ST: Arg Value:
{/}.
[07/04/09 14:58:05.179]:CHW_UP_Driver_IvosPl ST: Action:
do-set-local-variable("var-flag-pwdStatus",scope="driver","False").
[07/04/09 14:58:05.180]:CHW_UP_Driver_IvosPl ST:
arg-string("False")
[07/04/09 14:58:05.180]:CHW_UP_Driver_IvosPl ST:
token-text("False")
[07/04/09 14:58:05.180]:CHW_UP_Driver_IvosPl ST: Arg Value:
"False".
[07/04/09 14:58:05.181]:CHW_UP_Driver_IvosPl ST: Action:
do-for-each(arg-node-set(token-xpath("$var-xml-Priv//UIDGroup/UID/@pwdStatus"))).
[07/04/09 14:58:05.181]:CHW_UP_Driver_IvosPl ST:
arg-node-set(token-xpath("$var-xml-Priv//UIDGroup/UID/@pwdStatus"))
[07/04/09 14:58:05.181]:CHW_UP_Driver_IvosPl ST:
token-xpath("$var-xml-Priv//UIDGroup/UID/@pwdStatus")
[07/04/09 14:58:05.182]:CHW_UP_Driver_IvosPl ST: Token Value:
{@pwdStatus = "N"}.
[07/04/09 14:58:05.182]:CHW_UP_Driver_IvosPl ST: Arg Value:
{@pwdStatus = "N"}.
[07/04/09 14:58:05.182]:CHW_UP_Driver_IvosPl ST: Performing
actions for local-variable(current-node) = @pwdStatus = "N".
[07/04/09 14:58:05.183]:CHW_UP_Driver_IvosPl ST: Action:
do-if().
[07/04/09 14:58:05.183]:CHW_UP_Driver_IvosPl ST: Evaluating
conditions.
[07/04/09 14:58:05.183]:CHW_UP_Driver_IvosPl ST: (if-xpath
true "$current-node='Y'") = FALSE.
[07/04/09 14:58:05.184]:CHW_UP_Driver_IvosPl ST: Evaluating
selection criteria for rule 'Veto If Attr Not Available'.
[07/04/09 14:58:05.184]:CHW_UP_Driver_IvosPl ST: (if-src-attr
'chwUPIvosPlInsuredGroup' not-available) = FALSE.
[07/04/09 14:58:05.184]:CHW_UP_Driver_IvosPl ST: (if-src-attr
'chwUPIvosPlIsProv' not-available) = FALSE.
[07/04/09 14:58:05.185]:CHW_UP_Driver_IvosPl ST: (if-src-attr
'chwUPIvosPlRCR' not-available) = FALSE.
[07/04/09 14:58:05.185]:CHW_UP_Driver_IvosPl ST: (if-src-attr
'chwUPIvosPlRCS' not-available) = FALSE.
[07/04/09 14:58:05.186]:CHW_UP_Driver_IvosPl ST: (if-src-attr
'chwUPIvosPlRCD' not-available) = FALSE.
[07/04/09 14:58:05.186]:CHW_UP_Driver_IvosPl ST: (if-src-attr
'chwUPIvosPlDR' not-available) = FALSE.
[07/04/09 14:58:05.186]:CHW_UP_Driver_IvosPl ST: (if-src-attr
'chwUPIvosPlPriv' not-available) = FALSE.
[07/04/09 14:58:05.187]:CHW_UP_Driver_IvosPl ST: (if-src-attr
'chwUPIvosPlApprSts' not-available) = FALSE.
[07/04/09 14:58:05.187]:CHW_UP_Driver_IvosPl ST:
(if-local-variable 'var-flag-pwdStatus' not-equal "True") = TRUE.
[07/04/09 14:58:05.188]:CHW_UP_Driver_IvosPl ST: *(if-xpath
not-true "$var-xml-IsProv/xml/child::node()") = FALSE.*[07/04/09
14:58:05.188]:CHW_UP_Driver_IvosPl ST: (if-class-name not-equal
"User") = FALSE.
[07/04/09 14:58:05.188]:CHW_UP_Driver_IvosPl ST: (if-src-dn
not-in-container "CHWIDV\Users") = FALSE.
[07/04/09 14:58:05.189]:CHW_UP_Driver_IvosPl ST: Rule rejected.
[07/04/09 14:58:05.189]:CHW_UP_Driver_IvosPl ST:Policy returned:

Did anyone faced this issue earlier?? Any help would be highly
appreciated...


--
varunece
------------------------------------------------------------------------
varunece's Profile: http://forums.novell.com/member.php?userid=42999
View this thread: http://forums.novell.com/showthread.php?t=379114