look for namespace and non-namespace tags to keep FF happy
fixes #16