moving local/global from XSD-3 to XSD-2