Creates a new Set object from the xml_spec specifications
xml_spec
a string
a new object, or null if an error occurred
null