Thanks for the quick answer @Martin Honnen . I tried using Xerces for validation. Tried the versions 2.11.0 , 2.12.0 , 2.12.2. All of them throws the same error below. I found few threads related to the same error, but couldn't find the right solution. Looks like issue with the schema NS URI. Appreciate if you can throw some light. Thanks in advance.
Error: "java.lang.IllegalArgumentException: No SchemaFactory that implements the schema language specified by: http://www.w3.org/XML/XMLSchema/v1.1 could be loaded".
Other related threads: https://issues.apache.org/jira/browse/XERCESJ-1703
Example to validate a xml-File against an XSD v1.1 Schema in Java 1.8