code: protected void doReportValidationProblem(String msg, Location loc)
          throws XMLStreamException
      {
          if (loc == null) {
              loc = getLocation();
          }
          XMLValidationProblem prob = new XMLValidationProblem(loc, msg, XMLValidationProblem.SEVERITY_ERROR);
          prob.setReporter(this);
          mContext.reportProblem(prob);
      }
docs: /*
  /////////////////////////////////////
  Private/sub-class methods
  /////////////////////////////////////