/* * call-seq: * str2 * * Extra string information */ static VALUE str2(VALUE self) { xmlErrorPtr error; Data_Get_Struct(self, xmlError, error); if(error->str2) return NOKOGIRI_STR_NEW2(error->str2, "UTF-8"); return Qnil; }