Getting Fattal while doing XML input stage operation

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

Getting Fattal while doing XML input stage operation

Post by deesh »

Can any one please help in below Fatal error:

APT_CombinedOperatorController,0: Fatal Error: Fatal: XML input document parsing failed. Reason: Xalan fatal error (publicId: , systemId: , line: 28, column: 3): Invalid character (Unicode: 0x0)


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\ANALYZERPROJECT/<EMPS>
<EMP>
<EMPNO>001</EMPNO>
<ENAME>JAGA</ENAME>
<JOB>IT</JOB>
<SAL>20000</SAL>
<DEPTNO>1</DEPTNO>
</EMP>
</EMPS>
Last edited by deesh on Wed Feb 08, 2012 3:06 am, edited 1 time in total.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Start by disabling operator combination so you can learn which stage (operator) is actually throwing the error.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
deesh
Participant
Posts: 193
Joined: Mon Oct 08, 2007 2:57 am

Post by deesh »

it is surprising, once again i tested the XML job, job was not accepting more than 3 records. If i enter 4th record, below warning was getting...

EMPNO,ENAME,JOB,SAL,DEPTNO these are fields i have given.


XML_Input_0,0: Info: test_on_xml_in.XML_Input_0: Xalan fatal error (publicId: , systemId: , line: 28, column: 9): An exception occurred! Type:UnexpectedEOFException, Message:The end of input was not expected
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

How are you reading in your xml. Be sure you read it in as a filename via external source stage.

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
deesh
Participant
Posts: 193
Joined: Mon Oct 08, 2007 2:57 am

Post by deesh »

Hi,

I am using below sequence:

Sequence file ---> XML Input ----->Sequence file.

While trying with External source stage It's giving error.

External_Source_6,3: Operator terminated abnormally: runLocally() did not return APT_StatusOk
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Show us exactly what you tried in the External Source stage.
-craig

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