From: John K. - K. I. NL <jk...@in...> - 2006-10-26 14:32:56
|
Hello, I'm busy recomposing the vtd-xml package for linux and unix with autotools and strict c-compiler-thingies. It's almost working now, but I've encountered this and have not yet been able to figure out why this happens. I've got this piece of code (straight from the code sample): t = getText(vn); wprintf(L"t: %d\n", t); if (t != -1) { tmpString = toNormalizedString(vn,t); wprintf(L" text ==> %ls \n", tmpString); free(tmpString); } Somehow getText _always_ returns -1; the file is generated by libxml2 and utf-8 encoded. Could somebody please help me locate or explain this problem? Regards, John Kraal |