code: public void characters(
            StylesheetHandler handler, char ch[], int start, int length)
              throws org.xml.sax.SAXException
    {
      handler.error(XSLTErrorResources.ER_CHARS_NOT_ALLOWED, null, null);//"Characters are not allowed at this point in the document!",
                    //null);
    }
docs: Receive notification of character data inside an element.
  
  
  @param handler non-null reference to current StylesheetHandler that is constructing the Templates.
  @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.