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

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