virt_xml_validate: fix an spelling error in cfg and provide an interface for other schemas.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>