Try to validate a single namespace declaration for an
          element basically it does the following checks as described
          by the XML-1.0 recommendation: - [ VC: Attribute Value Type
          ] - [ VC: Fixed Attribute Default ] - [ VC: Entity Name ] -
          [ VC: Name Token ] - [ VC: ID ] - [ VC: IDREF ] - [ VC:
          Entity Name ] - [ VC: Notation Attributes ]  The ID/IDREF
           uniqueness and matching are done separately

def validateOneNamespace(self, doc, elem, prefix, ns, value):
        """Try to validate a single namespace declaration for an
          element basically it does the following checks as described
          by the XML-1.0 recommendation: - [ VC: Attribute Value Type
          ] - [ VC: Fixed Attribute Default ] - [ VC: Entity Name ] -
          [ VC: Name Token ] - [ VC: ID ] - [ VC: IDREF ] - [ VC:
          Entity Name ] - [ VC: Notation Attributes ]  The ID/IDREF
           uniqueness and matching are done separately """
        if doc is None: doc__o = None
        else: doc__o = doc._o
        if elem is None: elem__o = None
        else: elem__o = elem._o
        if ns is None: ns__o = None
        else: ns__o = ns._o
        ret = libxml2mod.xmlValidateOneNamespace(self._o, doc__o, elem__o, prefix, ns__o, value)
        return ret