XML extraction error, in the XPATH prefix

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
deesh
Participant
Posts: 193
Joined: Mon Oct 08, 2007 2:57 am

XML extraction error, in the XPATH prefix

Post by deesh »

Hi,

Please any one can help, in which situation this error can occur.


ERROR:
------------
Copy_of_XML_Input_0,0: Error: The prefix 'defns' is not declared.
expression = '/defns:Document/defns:CstmrPmtStsRpt' Remaining tokens are: ('/')

XML Column Description :
-----------------------------
/defns:Document/defns:CstmrPmtStsRpt/defns:GrpHdr/defns:MsgId/text()
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Check the XSD, where the name space defns should be defined.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply