Multiple Requests on Servlet Errored
I am sending Same data over 15 times in a gap of 3 secods.. to my servlet.
Each instance will have to check the data with an XSD , I am using
Validator validator = schema.newValidator() for that. Since I have a huge XML and huge XSD, each process take around 30 secs.
Now I get an Error
"src-resolve: Cannot resolve the name 'xml:lang' to a(n) 'attribute declaration' component."
But this is only for few of those 15 times I am doing it. and its random, I am not sure why it would work once and not for few.. I am not accessing any file for XSD to think if its locking issue , nor any database .. the XSD is in a string the Servlet receives a doPost Request of XML ..
Can anyone suggest ? Please
Thanks
Sur