xml reject

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
knowledge
Participant
Posts: 101
Joined: Mon Oct 17, 2005 8:14 am

xml reject

Post by knowledge »

Hi All,

I am working on xml , and processed many xml file from same site(vendor) , but now I am having problem loading new file (different xsd) though I am following same procedure which
I did for previous files ... here I have few questions ,
1: how to create xsd ( column definition ) for xml input stage , when I tried to import (download)online xsd provided by vendor , i am getting many error as
..........................................
the <element><d01_02> is of type [primary type of service] however
primary type of service is not defined as root item within this schema or any imported schema .
........................

when I import sample(tested xml file against their schema) on their site through xml table definition option to load metadata , it doesnt give me any error ,it creates metadata ,
my job runs ok, but reject the record , giving error
.....................................
XML input document parsing failed. Reason: Xalan error (publicId: , systemId: http://www6.emscharts.com/pub/xsd/D04_A ... mation.xsd, line: 13, column: 68): A <attributeGroup> declaration that has a ref attribute, cannot have child content.
..................................

what is the correct way to load metadata ,
in main xsd file there is reference to many other xsds , I have downloaded all xsds under same folded but when I am trying to import main xsd through xml table definition , its not finding other tags which are defined in other xsd ,

where I am doing wrong ,
please suggest .

thanks .
Post Reply