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"
Hi!
Iam able to open and also validate the schema file 'WcsToHost.xsd'.
and it is placed in the directory as the xml file.
but, its not recognising it..
i've tried this with XML Spy as well,
it warns the same
tried that!.
it wouldn't work...
Iam able to open the file from the same location...
But, when i go to the 'DTD/Schema -->Goto Schema ' Option in XML Spy..
it says it could not be opened.
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!!!
Rajeev 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!!!
-craig
"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?