handle xmlns for imports (bug #4520)