Error in Xml Input stage
Moderators: chulett, rschirm, roy
Error in Xml Input stage
Hi! Can any one identify the problem from the below error message.
"POLineXMLFF..XMLInput: Xalan warning (publicId: , systemId: , line: 0, column: 0): An exception occurred! Type:RuntimeException, Message:Warning: The primary document entity could not be opened. Id=WcsToHost.xsd"
My job goes like this
Folder----------XML Input---------------Sequential File
Thanx in advance
Kalpna
"POLineXMLFF..XMLInput: Xalan warning (publicId: , systemId: , line: 0, column: 0): An exception occurred! Type:RuntimeException, Message:Warning: The primary document entity could not be opened. Id=WcsToHost.xsd"
My job goes like this
Folder----------XML Input---------------Sequential File
Thanx in advance
Kalpna
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
So it is clear that it isn't a DataStage XML error, but a document form error. What does XML Spy report as the error message?kalpna wrote:...i've tried this with XML Spy as well,
it warns the same...
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
Even I am facing the same problem. 'Cause of the error message no records are being output from the XML input stage. I have kept the necessary .xsd files in the same directory where the .ml exists.
Can any one let me know a solution for this please!!!
Can any one let me know a solution for this please!!!
Rajeev
Nobody knows Everything,
But U should not be the One who knows Nothing.
Nobody knows Everything,
But U should not be the One who knows Nothing.
Don't jump on the end of an old thread, start a new one instead. We know nothing about your environment or job except you are facing the 'same problem' which isn't all that informative.
ps. No errrors and no output means your XPath Expressions are 'valid' but don't match the incoming XML.
pps. Start your own thread!!!
ps. No errrors and no output means your XPath Expressions are 'valid' but don't match the incoming XML.
pps. Start your own thread!!!
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
First, separate the two problems.... Test your job with a version of the xml document that has NO indication of xml schema...remove the entry entirely using a text editor and run the job. There are 100 reasons why you'd get no rows from XMLInput, usually having to do with errors in your xpath (Description attribute of your columns in the output link).
Second, was the xml schema fully qualified inside your instance document? and are there any properties on the file that would prevent the DataStage userid "at runtime" from getting access to the directory, or to the file?
Ernie
Second, was the xml schema fully qualified inside your instance document? and are there any properties on the file that would prevent the DataStage userid "at runtime" from getting access to the directory, or to the file?
Ernie