fixed namespace parser to ignore empty string
closes #49