Added xsd scheme.
Some fixes in xsd.