Issue in XML Hierarchical stage
Posted: Wed Apr 13, 2016 4:18 am
Hi,
For Validation of Output XML files we have used XML Parser followed by multiple Switch Step in Assembly editor of XML hierarchical data stage. The parser stage will do the validation and reject the invalid records. Since we have 4 different hierarchies we used 4 switch stage to filter each hierarchy's valid and invalid records based on the parsing status.
The issue is, if any one of the records in any of the hierarchies is incorrect the job aborts and rest of the records remain unhandled. Suppose in "account hierarchy" I have 5 xml records, if the 3rd record is invalid xml then the job aborts without even sending the first 2 records to valid link.
Regards,
Sasi VC
For Validation of Output XML files we have used XML Parser followed by multiple Switch Step in Assembly editor of XML hierarchical data stage. The parser stage will do the validation and reject the invalid records. Since we have 4 different hierarchies we used 4 switch stage to filter each hierarchy's valid and invalid records based on the parsing status.
The issue is, if any one of the records in any of the hierarchies is incorrect the job aborts and rest of the records remain unhandled. Suppose in "account hierarchy" I have 5 xml records, if the 3rd record is invalid xml then the job aborts without even sending the first 2 records to valid link.
Regards,
Sasi VC