added xsd schema validation (refs #2)