code: private final void reportPseudoAttrProblem(String attrName, String got,
                                                 String expVal1, String expVal2)
          throws WstxException
      {
          String expStr = (expVal1 == null) ? "" :
              ("; expected \""+expVal1+"\" or \""+expVal2+"\"");
  
          if (got == null || got.length() == 0) {
              throw new WstxParsingException("Missing XML pseudo-attribute '"+attrName+"' value"+expStr,
                                             getLocation());
          }
          throw new WstxParsingException("Invalid XML pseudo-attribute '"+attrName+"' value "+got+expStr,
                                         getLocation());
      }
docs: /*
  //////////////////////////////////////
  Other private methods:
  //////////////////////////////////////