Index: rarian-0.8.1/librarian/rarian-reg-full.c =================================================================== --- rarian-0.8.1.orig/librarian/rarian-reg-full.c +++ rarian-0.8.1/librarian/rarian-reg-full.c @@ -338,6 +338,8 @@ process_pair_full (RrnRegFull *reg, char } } else if (!strcmp (key, "Icon")){ reg->icon = strdup (value); + } else if (!strncmp (key, "X-", 2)) { + /* ignore */ } else { fprintf (stderr, "WARNING: Unknown element %s: %s\n", key, value); } @@ -627,6 +629,8 @@ process_sect_pair_full (RrnSectFull *sec sect->uri = rrn_full_add_field (sect->uri, value, lang); } else if (!strcmp (key, "SectionDocument") || !strcmp (key, "sectiondocument")) { sect->owner = strdup (value); + } else if (!strncmp (key, "X-", 2)) { + /* ignore */ } else { fprintf (stderr, "WARNING: Unknown element for section %s: %s\n", key, value); } Index: rarian-0.8.1/librarian/rarian-reg-utils.c =================================================================== --- rarian-0.8.1.orig/librarian/rarian-reg-utils.c +++ rarian-0.8.1/librarian/rarian-reg-utils.c @@ -505,6 +505,8 @@ process_pair (RrnReg *reg, char *key, ch reg->identifier = strdup (value); } else if (!strcmp (key, "X-DOC-Weight")) { reg->weight = atoi (value); + } else if (!strncmp (key, "X-")) { + /* ignore */ } else { fprintf (stderr, "WARNING: Unknown element %s: %s\n", key, value); } @@ -847,6 +849,8 @@ process_sect_pair (RrnSect *sect, char * process_field (&(sect->uri), NULL, key, value); } else if (!strcmp (key, "SectionDocument") || !strcmp (key, "sectiondocument")) { sect->owner = strdup (value); + } else if (!strncmp (key, "X-", 2)) { + /* ignore */ } else { fprintf (stderr, "WARNING: Unknown element for section %s: %s\n", key, value); }