XML input stage behaving differently across installations
Posted: Mon Aug 16, 2010 2:27 am
We have two environments with Datastage 8 and the XML plugin installed on both.
I have a job which uses the XML Input stage to read in filepaths from an External Source stage. It uses these filepaths to read in XML file content and then loads that XML content on to a queue.
The same job works fine in one environment but fails/warns in the other with the same test data.
In the failing environment the XML input stage appears to be looking for a XSD file referred to in the XML files' namespace. When it can't find it, it complains. No such problem in the other environment.
This is the error/warning message on the XML input stage:
This is the offending namespace:
xsi:schemaLocation="http://www.abcd.com.au/Namespace/Generic/Service/V1.0 ResubmitJJJJRequest.xsd"
Any ideas? Could it be a Xalan/java config problem? Thanks.
I have a job which uses the XML Input stage to read in filepaths from an External Source stage. It uses these filepaths to read in XML file content and then loads that XML content on to a queue.
The same job works fine in one environment but fails/warns in the other with the same test data.
In the failing environment the XML input stage appears to be looking for a XSD file referred to in the XML files' namespace. When it can't find it, it complains. No such problem in the other environment.
This is the error/warning message on the XML input stage:
Code: Select all
XMLinput_listToRecs,0: Warning: listFilesToQueue.XMLinput_listToRecs: XML input document parsing failed. Reason: Xalan warning (publicId: , systemId: , line: 0, column: 0): An exception occurred! Type:RuntimeException, Message:Warning: The primary document entity could not be opened. Id=/opt/infosphere/projects/DMData/log/outfiles/ResubmitJJJJRequest.xsd
This is the offending namespace:
xsi:schemaLocation="http://www.abcd.com.au/Namespace/Generic/Service/V1.0 ResubmitJJJJRequest.xsd"
Any ideas? Could it be a Xalan/java config problem? Thanks.