simplified "processNamespaceDec"