Error in Xpath Expression
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > Error in Xpath Expression




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Error in Xpath Expression  
Lakshimi


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-18-06 05: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/DEVEL
OPER/Tables/TBMF_CUST_COMP]']/*[local-name()='UpdatedRows'
and
namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVEL
OPER/Tables/TBMF_CUST_COMP]']/*[local-name()='Record'
and
namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVEL
OPER/Tables/TBMF_CUST_COMP]']/*[local-name()='COMP_ID'
and
namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVEL
OPER/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/DEVEL
OPER/Tables/TBMF_CUST_COMP]']
/*[local-name()='UpdatedRows' and
namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVEL
OPER/Tables/TBMF_CUST_COMP]']
/*[local-name()='Record' and
namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVEL
OPER/Tables/TBMF_CUST_COMP]']
/*[local-name()='DATE_CANCEL' and
namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVEL
OPER/Tables/TBMF_CUST_COMP]']'
has an invalid token.
----------------------------------------------------------------------------
--------------------

Can anyone help ?


Thanks,
Lakshimi.





[ Post a follow-up to this message ]



    Re: Error in Xpath Expression  
Eric Stott


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-18-06 05: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/DEVEL
OPER/Tables/TBMF_CUST_COMP]']/*[local-name()='UpdatedRows'
and
namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVEL
OPER/Tables/TBMF_CUST_COMP]']/*[local-name()='Record'
and
namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVEL
OPER/Tables/TBMF_CUST_COMP]']/*[local-name()='COMP_ID'
and
namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEVEL
OPER/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()='TableChangeEve
nt'
> and
> namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEV
ELOPER/Tables/TBMF_CUST_COMP]']/*[local-name()='UpdatedRows'
> and
> namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEV
ELOPER/Tables/TBMF_CUST_COMP]']/*[local-name()='Record'
> and
> namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEV
ELOPER/Tables/TBMF_CUST_COMP]']/*[local-name()='COMP_ID'
> and
> namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEV
ELOPER/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/DEV
ELOPER/Tables/TBMF_CUST_COMP]']
> /*[local-name()='UpdatedRows' and
> namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEV
ELOPER/Tables/TBMF_CUST_COMP]']
> /*[local-name()='Record' and
> namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEV
ELOPER/Tables/TBMF_CUST_COMP]']
> /*[local-name()='DATE_CANCEL' and
> namespace-uri()='http://schemas.microsoft.com/[OracleDb://ea21th2p/DEV
ELOPER/Tables/TBMF_CUST_COMP]']'
> has an invalid token.
> --------------------------------------------------------------------------
----------------------
>
> Can anyone help ?
>
>
> Thanks,
> Lakshimi.







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:08 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register