In java there is class SchemaFactory which is used for schema validation but it is not available in android. Is there any other option available?>
java
SchemaFactory
So long as the SchemaFactory class requires no JNI code you can just import its .jar file into your Android project and use it directly.
.jar