BizTalk Server Orchestration - Error in Xpath Expression

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > April 2006 > Error in Xpath Expression





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Error in Xpath Expression
Lakshimi

2006-04-18, 12:46 am

Hi ,

I entered the below in decide shape.
#############################
(System.String)xpath(Message_1,"string(/*[local-name()='TableChangeEvent'
and
namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVELOPER/Tables/TBMF_CUST_COMP]']/*[local-name()='UpdatedRows'
and
namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVELOPER/Tables/TBMF_CUST_COMP]']/*[local-name()='Record'
and
namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVELOPER/Tables/TBMF_CUST_COMP]']/*[local-name()='COMP_ID'
and
namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVELOPER/Tables/TBMF_CUST_COMP]']") == "xxx"
########################################
##########
And got the error as
----------------------------------------------------------------------------------------
xception thrown from: segment 1, progress 6
Inner exception: 'string(/*[local-name()='TableChangeEvent' and
namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVELOPER/Tables/TBMF_CUST_COMP]']
/*[local-name()='UpdatedRows' and
namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVELOPER/Tables/TBMF_CUST_COMP]']
/*[local-name()='Record' and
namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVELOPER/Tables/TBMF_CUST_COMP]']
/*[local-name()='DATE_CANCEL' and
namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVELOPER/Tables/TBMF_CUST_COMP]']'
has an invalid token.
------------------------------------------------------------------------------------------------

Can anyone help ?


Thanks,
Lakshimi.
Eric Stott

2006-04-18, 12:46 am

Try this, there is no ')' to close out the string()
(System.String)xpath(Message_1,"string(/*[local-name()='TableChangeEvent'
and
namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVELOPER/Tables/TBMF_CUST_COMP]']/*[local-name()='UpdatedRows'
and
namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVELOPER/Tables/TBMF_CUST_COMP]']/*[local-name()='Record'
and
namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVELOPER/Tables/TBMF_CUST_COMP]']/*[local-name()='COMP_ID'
and
namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVELOPER/Tables/TBMF_CUST_COMP]'])")
== "xxx"


"Lakshimi" <Lakshimi@discussions.microsoft.com> wrote in message
news:18CABDFB-44DF-4E94-A967-8A16875B0DA3@microsoft.com...
> Hi ,
>
> I entered the below in decide shape.
> #############################
> (System.String)xpath(Message_1,"string(/*[local-name()='TableChangeEvent'
> and
> namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVELOPER/Tables/TBMF_CUST_COMP]']/*[local-name()='UpdatedRows'
> and
> namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVELOPER/Tables/TBMF_CUST_COMP]']/*[local-name()='Record'
> and
> namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVELOPER/Tables/TBMF_CUST_COMP]']/*[local-name()='COMP_ID'
> and
> namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVELOPER/Tables/TBMF_CUST_COMP]']")
> == "xxx"
> ########################################
##########
> And got the error as
> ----------------------------------------------------------------------------------------
> xception thrown from: segment 1, progress 6
> Inner exception: 'string(/*[local-name()='TableChangeEvent' and
> namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVELOPER/Tables/TBMF_CUST_COMP]']
> /*[local-name()='UpdatedRows' and
> namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVELOPER/Tables/TBMF_CUST_COMP]']
> /*[local-name()='Record' and
> namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVELOPER/Tables/TBMF_CUST_COMP]']
> /*[local-name()='DATE_CANCEL' and
> namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVELOPER/Tables/TBMF_CUST_COMP]']'
> has an invalid token.
> ------------------------------------------------------------------------------------------------
>
> Can anyone help ?
>
>
> Thanks,
> Lakshimi.



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com