xsd writer api improvements