Properly process the <namespace> tag

ensure compatibility with v5 selection xmls.