1. In a system configured to generate code from XML schemas, a method for determining equivalence of XML schema types, the method comprising: an act of identifying at least two XML schema types for which equivalence is to be determined, each of the at least two XML schema types having at least one schema component that can be presented differently in equivalent XML schema types; a step for normalizing each of the XML schema types; a step for determining equivalence of the at least two normalized XML schema types.