work on xs:extension