XML schema validation using Salami Slice design pattern