xsd writer - escape improvements