After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 656537 - Fix mallard relaxng validation errors in help pages
Fix mallard relaxng validation errors in help pages
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: User Documentation
3.2.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-user-docs
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2011-08-15 00:40 UTC by Alexandre Rostovtsev
Modified: 2013-09-13 01:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to fix mallard schema violations in help pages (23.65 KB, patch)
2011-08-15 00:47 UTC, Alexandre Rostovtsev
none Details | Review
patch to fix mallard schema violations in help pages (23.64 KB, patch)
2011-08-15 02:18 UTC, Alexandre Rostovtsev
committed Details | Review

Description Alexandre Rostovtsev 2011-08-15 00:40:50 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
Comment 1 Alexandre Rostovtsev 2011-08-15 00:47:41 UTC
Created attachment 193837 [details] [review]
patch to fix mallard schema violations in help pages
Comment 2 Alexandre Rostovtsev 2011-08-15 02:18:43 UTC
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).
Comment 3 Milan Crha 2011-08-15 13:38:11 UTC
Thanks for a bug report and patch. Changes seems harmless, as far as I can tell, thus I'll commit it to master.
Comment 4 Milan Crha 2011-08-15 13:39:32 UTC
Created commit 06d760b in evo master (3.1.90+)
Comment 5 André Klapper 2011-08-17 20:34:36 UTC
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!