Hi, Ramkumar Ch
I found that it is not problem of validation phase... It's problem of unstable networks, while Schema class cannot download all XSD files from www.w3.org, shibboleth.net, etc.
Your second metadata file is OK and the validator itself is OK, but some kind of network error was happen.
I'm adding a handler for this case (add without validation if some sites are unaccessible, with warning in UI).