Hi,
We were trying to validate XML with XSD using XML input stage. But we are unable to capture the rejects from XML input stage. seems to be some issues with XML input stage. We are in process of contacting IBM support team.
I have a jar file which can validate XML file with given XSD file.,
So I am wondering if there is any way to call this jar file from DS to validate my incoming XML file.
Warm Regards,
Suman.
calling jar file from DataStage
Moderators: chulett, rschirm, roy
There may be ways to do that by calling out to the command line in a before/after routine --- the deeply elegant way to do it would be to write a small java class that would accept your xml on an input link and do the validation, and code that class so that it operates with JavaPack. ....but that seems like a lot of extra work....Validation has had a series of patches...check with support and see what they are able to determine for you..... you can share the issue here also --- perhaps it is something some of us have seen....
Ernie
Ernie
Ernie Ostic
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
Hi,
I found this http://www-01.ibm.com/support/docview.w ... wg1JR32884 which address the same problem.
Regards,
Suman.
I found this http://www-01.ibm.com/support/docview.w ... wg1JR32884 which address the same problem.
Regards,
Suman.
eostic wrote:There may be ways to do that by calling out to the command line in a before/after routine --- the deeply elegant way to do it would be to write a small java class that would accept your xml on an input link and do the validation, and code that class so that it operates with JavaPack. ....but that seems like a lot of extra work....Validation has had a series of patches...check with support and see what they are able to determine for you..... you can share the issue here also --- perhaps it is something some of us have seen....
Ernie
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Ur? Ur was a city in ancient Babylon or thereabouts. The second person personal pronoun (possessive case) in English is spelled "your".suman27 wrote:Thanks for all ur replies.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.