    /*
     * call-seq:
     *   default?
     *
     * Was an attribute generated from the default value in the DTD or schema?
     */
    static VALUE default_eh(VALUE self)
    {
      xmlTextReaderPtr reader;
      int eh;

      Data_Get_Struct(self, xmlTextReader, reader);
      eh = xmlTextReaderIsDefault(reader);
      if(eh == 0) return Qfalse;
      if(eh == 1) return Qtrue;

      return Qnil;
    }