Page 1 of 1

Parsing XML file via XML Stage

Posted: Wed Sep 17, 2014 1:54 am
by vcsasikala
Hi All,
We are facing an issue while reading an XML in datastage v8.5 via XML Stage. We have XSD that shows the tree view of how the XML document should look. Say there are 5 hierarchy level defined in XSD and each hierarchy level has its own number of columns. The XML we tried to read is not having one hierarchy level.So we are not able to read the whole XML. If we add the hierarchy level with empty tags simply like <open></close> in the XML file then we able to read it. Is there any possible to read an XML file if the XML file is missing one hierarchy level which is mentioned in XSD ? Please share your thoughts


Thanks
Sasikala

Posted: Wed Sep 17, 2014 5:49 am
by eostic
It should only fail if that level of the hierarchy is required by the xsd and you are performing validation. Remove any validation checking if that is the case.

Ernie