Re: Pear Documentation problem

From: Date: Sun, 27 Dec 2009 14:40:59 +0000
Subject: Re: Pear Documentation problem
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-53157@lists.php.net to get a copy of this message
Hi Baptiste, On Sun, 27 Dec 2009 14:18:53 +0100, "Baptiste Autin" <fjas@free.fr> wrote: > Two weeks ago, I updated the documentation about a package (PHP_UML) but > the > modifications I made are still not visible online. > Maybe there's something wrong with my XML files, but I cannot find what. > > Is there any simple way to find where the pb comes from? (a log file for > example) Yes, a simple way is to use xmllint, preferably before committing: > xmllint --valid --noout .manual.xml .manual.xml:271991: element link: validity error : Value for attribute xmlns:xlink of link is different from default "http://www.w3.org/1999/xlink" lns:xlink="http://www.baptisteautin.com/wp-content/uploads/PHP_UML/API-htmlnew/" ^ .manual.xml:271991: element link: validity error : Value for attribute xmlns:xlink of link must be "http://www.w3.org/1999/xlink" lns:xlink="http://www.baptisteautin.com/wp-content/uploads/PHP_UML/API-htmlnew/" ^ .manual.xml:271991: element link: validity error : Element link namespace name for xlink does not match the DTD ttp://www.baptisteautin.com/wp-content/uploads/PHP_UML/API-htmlnew/">here</link> ^ .manual.xml:272469: element link: validity error : Value for attribute xmlns:xlink of link is different from default "http://www.w3.org/1999/xlink" te, do not hesitate to contact <link xmlns:xlink="http://www.baptisteautin.com/" ^ .manual.xml:272469: element link: validity error : Value for attribute xmlns:xlink of link must be "http://www.w3.org/1999/xlink" te, do not hesitate to contact <link xmlns:xlink="http://www.baptisteautin.com/" ^ .manual.xml:272469: element link: validity error : Element link namespace name for xlink does not match the DTD hesitate to contact <link xmlns:xlink="http://www.baptisteautin.com/">me</link> ^ Basically you used <link xmlns:xlink="..."> instead of the correct <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="..."> in several places.

« previous php.pear.dev (#53157) next »