public void warn(XPathContext xctxt,String msg,Object[] args) throws javax.xml.transform.TransformerException {
  java.lang.String fmsg=XSLMessages.createXPATHWarning(msg,args);
  if (null != xctxt) {
    ErrorListener eh=xctxt.getErrorListener();
    eh.warning(new TransformerException(fmsg,xctxt.getSAXLocator()));
  }
}

public void warn ( XPathContext xctxt , String msg , Object [ ] args ) throws javax . xml . transform . TransformerException { java . lang . String fmsg = XSLMessages . createXPATHWarning ( msg , args ) ; if ( null != xctxt ) { ErrorListener eh = xctxt . getErrorListener ( ) ; eh . warning ( new TransformerException ( fmsg , xctxt . getSAXLocator ( ) ) ) ; } }
warn the user of an problem .
