Fix namespace declarations
reached 300
Tests that XD0016 is raised, when @select returns an attribute.