Changeset 3658
- Timestamp:
- 09/22/08 17:39:08 (2 months ago)
- Files:
-
- 1 modified
-
format-plugins/tomboy-note/src/tomboy_note.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
format-plugins/tomboy-note/src/tomboy_note.c
r3621 r3658 23 23 24 24 #include <string.h> 25 #include <assert.h>26 27 #define osync_assert(x) assert(x)28 25 29 26 osync_bool tomboynote_validate(xmlDocPtr doc) { … … 252 249 char *cstr; 253 250 osync_xmlformat_assemble(xmlformat, &cstr, &size); 251 //TODO xmlformat should be sorted automatically 252 osync_xmlformat_sort(xmlformat); 254 253 osync_trace(TRACE_SENSITIVE, "... Output XMLFormat is: \n%s", cstr); 255 254 g_free(cstr); … … 285 284 286 285 doc = xmlNewDoc(BAD_CAST "1.0"); 287 ns = xmlNewNs(NULL, NULL, BAD_CAST "http://beatniksoftware.com/tomboy");286 ns = xmlNewNs(NULL, BAD_CAST "http://beatniksoftware.com/tomboy", NULL); 288 287 289 288 note = xmlNewNode(ns, BAD_CAST "note"); … … 455 454 } 456 455 456 /* 457 457 static OSyncConvCmpResult compare_tomboynote(const char *leftdata, unsigned int leftsize, const char *rightdata, unsigned int rightsize) { 458 458 //TODO 459 459 return OSYNC_CONV_DATA_MISMATCH; 460 } 460 } 461 */ 461 462 462 463 osync_bool get_format_info(OSyncFormatEnv *env, OSyncError **error)
