output sanitized <user username="jsbronder"> <realname fullname="Justin Bronder"> <firstname>Justin</firstname> <familyname>Bronder</familyname> </realname> <pgpkey>0x4D7043C9</pgpkey> <email role="gentoo">jsbronder@gentoo.org</email> <joined>XXXXXX</joined> <birthday/> <roles>Package maintainer</roles> <location>Brighton, MA, USA</location> </user> Gives: betelgeuse@pena /mnt/checkouts/gentoo/xml/htdocs/proj/en/devrel/roll-call $ cvs commit -m "Add jsbronder (bug #188400)." Gentoo XML-QA-checker called. In case of troubles, contact neysx@gentoo.org or pylon@gentoo.org userinfo.xml:3240: element email: validity error : No declaration for attribute role of element email <email role="gentoo">jsbronder@gentoo.org</email> ^ userinfo.xml:3242: element birthday: validity error : No declaration for element birthday <birthday/> ^ userinfo.xml:3245: element user: validity error : Element user content does not follow the DTD, expecting (realname , pgpkey , email+ , joined , status? , roles? , location?), got (realname pgpkey email joined birthday roles location ) </user> ^ XML-Checking userinfo.xml ... [ failed ] cvs commit: Pre-commit check failed cvs [commit aborted]: correct above errors first! betelgeuse@pena /mnt/checkouts/gentoo/xml/htdocs/proj/en/devrel/roll-call $ vim userinfo.xml betelgeuse@pena /mnt/checkouts/gentoo/xml/htdocs/proj/en/devrel/roll-call $ cvs commit -m "Add jsbronder (bug #188400)." Gentoo XML-QA-checker called. In case of troubles, contact neysx@gentoo.org or pylon@gentoo.org userinfo.xml:3240: element email: validity error : No declaration for attribute role of element email <email role="gentoo">jsbronder@gentoo.org</email> ^ XML-Checking userinfo.xml ... [ failed ] cvs commit: Pre-commit check failed cvs [commit aborted]: correct above errors first! betelgeuse@pena /mnt/checkouts/gentoo/xml/htdocs/proj/en/devrel/roll-call $ vim userinfo.xml betelgeuse@pena /mnt/checkouts/gentoo/xml/htdocs/proj/en/devrel/roll-call $ cvs commit -m "Add jsbronder (bug #188400)." Gentoo XML-QA-checker called. In case of troubles, contact neysx@gentoo.org or pylon@gentoo.org XML-Checking userinfo.xml ... [ done ] /var/cvsroot/gentoo/xml/htdocs/proj/en/devrel/roll-call/userinfo.xml,v <-- userinfo.xml new revision: 1.1005; previous revision: 1.1004
betelgeuse: phreak is working on it already, I think he has a new perl_ldap on hand.
While you're at it, make sure the xml starts like this: <?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet href="/proj/en/devrel/roll-call/userinfo.xsl" type="text/xsl"?> <?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?> <!DOCTYPE userlist SYSTEM "/dtd/userinfo.dtd"> i.e. processing instruction using userinfo-devlist.xsl is not used anymore
Putting in the DEPEND, as the other bug has all the fixes we need for this.
The new perl_ldap is in place on ldap1 and dev. There is still some data merging that needs to go on, phreak is looking at it, and should have an LDIF for me in a day or two (users with weird/missing data in LDAP, or only in XML, not LDAP).
userinfo.xml is now updated every hour, on the :15's, from LDAP.