code: public void characters(char ch[], int start, int length)
            throws org.xml.sax.SAXException
    {
  
      if (!m_shouldProcess)
        return;
  
      XSLTElementProcessor elemProcessor = getCurrentProcessor();
      XSLTElementDef def = elemProcessor.getElemDef();
  
      if (def.getType() != XSLTElementDef.T_PCDATA)
        elemProcessor = def.getProcessorFor(null, "text()");
  
      if (null == elemProcessor)
      {
  
        // If it's whitespace, just ignore it, otherwise flag an error.
        if (!XMLCharacterRecognizer.isWhiteSpace(ch, start, length))
          error(
            XSLMessages.createMessage(XSLTErrorResources.ER_NONWHITESPACE_NOT_ALLOWED_IN_POSITION, null),null);//"Non-whitespace text is not allowed in this position in the stylesheet!",
            
      }
      else
        elemProcessor.characters(this, ch, start, length);
    }
docs: Receive notification of character data inside an element.
  
  @param ch The characters.
  @param start The start position in the character array.
  @param length The number of characters to use from the
  character array.
  @see org.xml.sax.ContentHandler#characters
  
  @throws org.xml.sax.SAXException Any SAX exception, possibly
  wrapping another exception.