Scenario:
5 test XMLs, 3 conform to the xsd while 2 don't --> External_Source_Stage passes 5 rows to the XML Stage, which then outputs 3 rows. Want to capture the file name of the other 2 dropped XMLs to a flatfile.
Approach tried:
1) Adding structure validation to the Parser step that outputs to the output step
Result: Does not work. Non-conforming rows dropped at the parser step before ever reaching the output step, therefore not passing any information.
2) Adding structure validation to the Parser step + an output link coming from the XML stage
Result: Does not work. Job aborted with the following error message:
XML_PARSE:java.lang.NullPointerException at com.ibm.e2.connector.datastage.cc.CC_E2Adapter.getRejectDataSetProducer (CC_E2Adapter.java:406)
Can't find any resolution regarding this error message
![Sad :(](./images/smilies/icon_sad.gif)