Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357893 - [patch] media-video/totem-2.32.0 fails test: xml validation errors
Summary: [patch] media-video/totem-2.32.0 fails test: xml validation errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-08 09:14 UTC by Dustin Polke
Modified: 2011-04-02 11:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch submitted upstream to fix validation (0001-Fix-XML-validation-of-help-files.patch,9.05 KB, patch)
2011-03-08 09:14 UTC, Dustin Polke
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dustin Polke 2011-03-08 09:14:11 UTC
Created attachment 265121 [details, diff]
Patch submitted upstream to fix validation

Making check in help
make[1]: Entering directory `/var/tmp/portage/media-video/totem-2.32.0/work/totem-2.32.0/help'
xmllint --noout --noent --path C:./C --xinclude --postvalid ./C/totem.xml
xmllint --noout --noent --path bg:./bg --xinclude --postvalid ./bg/totem.xml
xmllint --noout --noent --path ca:./ca --xinclude --postvalid ./ca/totem.xml
xmllint --noout --noent --path cs:./cs --xinclude --postvalid ./cs/totem.xml
xmllint --noout --noent --path da:./da --xinclude --postvalid ./da/totem.xml
xmllint --noout --noent --path de:./de --xinclude --postvalid ./de/totem.xml
./de/totem.xml:137: element releaseinfo: validity error : Element application is not declared in releaseinfo list of possible children
./de/totem.xml:334: element para: validity error : Element shortcut is not declared in para list of possible children
./de/totem.xml:334: element keycombo: validity error : Element keycombo content does not follow the DTD, expecting (keycap | keycombo | keysym | mousebutton)+, got (keycap CDATA keycap)
./de/totem.xml:343: element para: validity error : Element shortcut is not declared in para list of possible children
Document ./de/totem.xml does not validate
xmllint --noout --noent --path el:./el --xinclude --postvalid ./el/totem.xml
xmllint --noout --noent --path en_GB:./en_GB --xinclude --postvalid ./en_GB/totem.xml
xmllint --noout --noent --path es:./es --xinclude --postvalid ./es/totem.xml
xmllint --noout --noent --path eu:./eu --xinclude --postvalid ./eu/totem.xml
xmllint --noout --noent --path fi:./fi --xinclude --postvalid ./fi/totem.xml
./fi/totem.xml:219: element menuchoice: validity error : Element menuchoice content does not follow the DTD, expecting (shortcut? , (guibutton | guiicon | guilabel | guimenu | guimenuitem | guisubmenu | interface)+), got (guisubmenu CDATA guimenuitem)
Document ./fi/totem.xml does not validate
xmllint --noout --noent --path fr:./fr --xinclude --postvalid ./fr/totem.xml
xmllint --noout --noent --path it:./it --xinclude --postvalid ./it/totem.xml
./it/totem.xml:432: element menuchoice: validity error : Element menuchoice content does not follow the DTD, expecting (shortcut? , (guibutton | guiicon | guilabel | guimenu | guimenuitem | guisubmenu | interface)+), got (shortcut guimenu CDATA guilabel CDATA application CDATA guilabel CDATA)
./it/totem.xml:432: element shortcut: validity error : Element shortcut content does not follow the DTD, expecting (keycap | keycombo | keysym | mousebutton)+, got (keycap CDATA)
Document ./it/totem.xml does not validate
xmllint --noout --noent --path ja:./ja --xinclude --postvalid ./ja/totem.xml
xmllint --noout --noent --path oc:./oc --xinclude --postvalid ./oc/totem.xml
xmllint --noout --noent --path pa:./pa --xinclude --postvalid ./pa/totem.xml
xmllint --noout --noent --path pl:./pl --xinclude --postvalid ./pl/totem.xml
./pl/totem.xml:432: element para: validity error : Element choice is not declared in para list of possible children
./pl/totem.xml:432: element choice: validity error : No declaration for element choice
./pl/totem.xml:565: element menuchoice: validity error : Element menuchoice content does not follow the DTD, expecting (shortcut? , (guibutton | guiicon | guilabel | guimenu | guimenuitem | guisubmenu | interface)+), got (shortcut guimenu guimenuitem CDATA guibutton CDATA guilabel CDATA guilabel CDATA)
Document ./pl/totem.xml does not validate
xmllint --noout --noent --path pt_BR:./pt_BR --xinclude --postvalid ./pt_BR/totem.xml
xmllint --noout --noent --path ru:./ru --xinclude --postvalid ./ru/totem.xml
xmllint --noout --noent --path sv:./sv --xinclude --postvalid ./sv/totem.xml
xmllint --noout --noent --path uk:./uk --xinclude --postvalid ./uk/totem.xml
xmllint --noout --noent --path zh_CN:./zh_CN --xinclude --postvalid ./zh_CN/totem.xml
xmllint --noout --noent --path zh_HK:./zh_HK --xinclude --postvalid ./zh_HK/totem.xml
xmllint --noout --noent --path zh_TW:./zh_TW --xinclude --postvalid ./zh_TW/totem.xml
xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' totem-C.omf
xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' totem-bg.omf
xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' totem-ca.omf
xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' totem-cs.omf
xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' totem-da.omf
xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' totem-de.omf
xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' totem-el.omf
xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' totem-en_GB.omf
xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' totem-es.omf
xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' totem-eu.omf
xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' totem-fi.omf
xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' totem-fr.omf
xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' totem-it.omf
xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' totem-ja.omf
xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' totem-oc.omf
xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' totem-pa.omf
xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' totem-pl.omf
xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' totem-pt_BR.omf
xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' totem-ru.omf
xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' totem-sv.omf
xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' totem-uk.omf
xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' totem-zh_CN.omf
xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' totem-zh_HK.omf
xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' totem-zh_TW.omf

I reported this upstream as well, see $URL.

For completeness:

Portage 2.1.9.25 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.11.3-r0, 2.6.36-gentoo-r5-stable x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r5-stable-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 08 Mar 2011 07:45:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r2, 3.1.3-r1
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL cadsoft skype-eula AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=generic"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/bin/mygenkernel /usr/sbin/run-crons /usr/share/cairo-dock/plug-ins/wifi/wifi /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=core2 -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=generic"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask --buildpkg"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/     ftp://de-mirror.org/distro/gentoo/     ftp://mirror.netcologne.de/gentoo/     ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo     ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now"
LINGUAS="en de"
MAKEOPTS="-j5"
PKGDIR="/var/lib/portage/binpkg"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/DuPol /var/lib/layman/science /var/lib/layman/sunrise /var/lib/layman/alon-barlev /usr/local/portage/modified /usr/local/portage/own"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X X509 Xaw3d a52 aac aalib accessibility acl acpi alsa amd64 amr apm audacious audiofile bash-completion battery berkdb bindist bl bluetooth branding bzip2 cairo cardbus cdaudio cdda cdinstall cjk cli consolekit cracklib crypt css ctype cups curl cxx dbus devil dga directfb dri dts dv dvd dvdr eds encode evo exchange exif fam fame fbcon fbcondecor fbsplash ffmpeg flac fontforge foomaticdb fortran ftp gd gdbm gif gimp git glade gmp gphoto2 gs gsm gstreamer gtk gtkhtml guile hddtemp hdf5 iconv icq icu idn ieee1394 imagemagick imap imlib iproute2 jack java javascript jpeg jpeg2k kerberos keyscrub kino kpathsea lame lapack laptop latex lcms libcaca libnotify libsamplerate libsexy libv4l2 libwww live lm_sensors logrotate loop-aes lzma lzo mad memlimit mikmod mime mjpeg mmx mmxext mng modules motif mp2 mp3 mp4 mpeg mplayer mudflap multilib musepack ncurses nls nntp nowin nptl nptlonly nsplugin ntp nuv nvidia ods ogg opengl openmp opensslcrypt pam pch pcmcia pcre pda pdf perl plotutils png posix ppds pppd print python qt3support quicktime readline rtsp ruby rubytests samba sasl schroedinger sdl server session simplexml slang sndfile soap sockets sou speex spell sse sse2 sse3 sse4.1 ssl ssse3 startup-notification stream subversion svg swat sysfs syslog system-sqlite tcpd tga theora threads tiff tordns truetype unicode usb userlocales v4l v4l2 vcd vdpau vim-syntax vim-with-x vorbis wcwidth wifi winbind wma wmf wxwindows x264 xanim xcomposite xfce xinetd xls xml xmp xorg xpm xsl xterm-color xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel mpu401" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="fuji ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia dummy" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS
Comment 1 Dustin Polke 2011-03-08 13:05:46 UTC
Patch has been accepted by upstream and is merged: http://git.gnome.org/browse/totem/commit/?id=e3a573866
Comment 2 Pacho Ramos gentoo-dev 2011-04-02 11:55:50 UTC
+*totem-2.32.0-r1 (02 Apr 2011)
+
+  02 Apr 2011; Pacho Ramos <pacho@gentoo.org>
+  -files/totem-2.26.1-smclient-target-detection.patch, -totem-2.30.2.ebuild,
+  -files/totem-2.30.2-init-gtype.patch, -files/totem-2.30.2-webm-support.patch,
+  +totem-2.32.0-r1.ebuild:
+  Revision bump including patches from master and 2.32 upstream branches fixing
+  some bugs, this also unset DBUS_SESSION_BUS_ADDRESS to prevent bug #332139
+  problems and xml validation fix (bug #357893 by Dustin Polke). Remove old.