Sorry, maybe I didn't make any sense here, but what I was trying to figure out is : what if I don't have a URL (or default namespace? ) to store the schema and its instance xml files but just store them on my localmachine, how can I validate it? What should I put in the <class xmlns="x-schema:xxxxxxxx.xml"> ? I don't know if this's a feasible way in doing it? Thanks.