GNOME Bugzilla – Bug 656537
Fix mallard relaxng validation errors in help pages
Last modified: 2013-09-13 01:05:45 UTC
Many of the new user documentation pages added a few days ago in help/ fail to validate against Mallard 1.0 RelaxNG schema, and as a result, evolution-3.1.5 fails to build: xmllint --noout --noent --path C:./C --xinclude --relaxng /usr/share/xml/mallard/1.0/mallard.rng ./C/calendar-layout-appointment-display.page ./C/calendar-layout-appointment-display.page:49: element list: Relax-NG validity error : Expecting element item, got p ./C/calendar-layout-appointment-display.page:49: element list: Relax-NG validity error : Element list failed to validate content ./C/calendar-layout-appointment-display.page:49: element list: Relax-NG validity error : Expecting element section, got list ./C/calendar-layout-appointment-display.page:49: element list: Relax-NG validity error : Element section has extra content: list ./C/calendar-layout-appointment-display.page:29: element p: Relax-NG validity error : Expecting element links, got p ./C/calendar-layout-appointment-display.page fails to validate [...] xmllint --noout --noent --path C:./C --xinclude --relaxng /usr/share/xml/mallard/1.0/mallard.rng ./C/using-categories.page ./C/using-categories.page:57: element note: Relax-NG validity error : Expecting element section, got note ./C/using-categories.page:27: element p: Relax-NG validity error : Element page has extra content: p ./C/using-categories.page fails to validate make[1]: *** [check-doc-pages] Error 3 make[1]: Leaving directory `/var/tmp/portage/mail-client/evolution-3.1.5/work/evolution-3.1.5/help' make: *** [check-recursive] Error 1
Created attachment 193837 [details] [review] patch to fix mallard schema violations in help pages
Created attachment 193839 [details] [review] patch to fix mallard schema violations in help pages Slightly improved version of the patch (eliminates a useless one-item <list> in calendar-layout-appointment-display.page instead of working around it).
Thanks for a bug report and patch. Changes seems harmless, as far as I can tell, thus I'll commit it to master.
Created commit 06d760b in evo master (3.1.90+)
Alexandre: This was my fault as I did not run xmllint with --relaxng before committing, hence a big "Thank you" for finding and fixing this!