XML Input Stage Issue

This forum contains ProfileStage posts and now focuses at newer versions Infosphere Information Analyzer.

Moderators: chulett, rschirm

Post Reply
dspradeep
Participant
Posts: 59
Joined: Fri Aug 21, 2009 12:58 am

XML Input Stage Issue

Post 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 ...
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The doubled slash character in the master document pathname may be at fault.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
dspradeep
Participant
Posts: 59
Joined: Fri Aug 21, 2009 12:58 am

Post 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
dspradeep
Participant
Posts: 59
Joined: Fri Aug 21, 2009 12:58 am

Post 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
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
dspradeep
Participant
Posts: 59
Joined: Fri Aug 21, 2009 12:58 am

Post 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?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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.
-craig

"You can never have too many knives" -- Logan Nine Fingers
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Moderator, please move to the Enterprise forum.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply