fixes xs:choice that's made up of a foreign type. fixes #193