Page 1 of 1

XML Input Stage Issue

Posted: Thu Nov 19, 2009 1:20 am
by dspradeep
Hi,


The below error i am getting when i am trying to run my xml job. my job design is

ESS--> xmlInput-->seqfile

Note : In XML input, i have selected URL/Path Radio button

Code: Select all

APT_CombinedOperatorController,0: Fatal Error: Fatal: XML input document parsing failed. Reason: Xalan fatal error (publicId: , systemId: , line: 0, column: 0): An exception occurred! Type:RuntimeException, Message:The primary document entity could not be opened. Id=C:\IBM\InformationServer\Server\Projects\MS1_POC//pradeep/master.xml  
please help me ...

Posted: Thu Nov 19, 2009 1:30 am
by ray.wurlod
The doubled slash character in the master document pathname may be at fault.

Posted: Thu Nov 19, 2009 3:23 am
by dspradeep
But i given in the ESS like below

Code: Select all

 ls /pradeep/master.xml 
Note: I can view this file and if i put cat command followed by this path then i can able to see the content of the xml also so i am not sure why this "//" coming infront of pradeep.

Pls help me

Posted: Thu Nov 19, 2009 4:17 am
by dspradeep
Hi Guys,

I got resolved the issue which i faced in Extenal Source Stage.

I don't know why this stage intenally it looking some path after that it looking our specified path

For ex, if i give the path like
pradeep/master.xml

then ESS will go and see in the below location

Code: Select all

C:\IBM\InformationServer\Server\Projects\MS1_POC\pradeep\master.xml
by default it uppend this path

Code: Select all

C:\IBM\InformationServer\Server\Projects\MS1_POC\
can we able to change this default path ?

why it is behaving like this?

once again i like to thanks all for resolving this issue

Posted: Thu Nov 19, 2009 7:05 am
by ray.wurlod
You specified a relative pathname (no leading "/") and DataStage gave you a pathname relative to the project. You need to provide a fully-qualified pathname to avoid this default.

Posted: Thu Nov 19, 2009 7:42 am
by dspradeep
You specified a relative pathname (no leading "/") and DataStage gave you a pathname relative to the project.

Ya i understood after that i given my path without that (no leading "/") .

You need to provide a fully-qualified pathname to avoid this default

how to give "fully-qualified pathname" ? I am not getting wt you are trying bcz initially i tried like " ls D:\folder1\*.xml" this is not working.

can u please explain how to give fully-qualified pathname?

Posted: Thu Nov 19, 2009 8:59 am
by chulett
You started another post to continue your same issue? And this time in a completely inappropriate forum? Come on. :roll:

And you really need to understand the difference between a full (or 'fully qualified' or 'absolute') path and a relative one and what a relative path is relative to.

Posted: Fri Nov 20, 2009 7:14 am
by chulett
Moderator, please move to the Enterprise forum.