Bug #6146 [Asn->Csd]: package.xml examples do not validate against DTD

From: Date: Thu, 12 Oct 2006 21:54:21 +0000
Subject: Bug #6146 [Asn->Csd]: package.xml examples do not validate against DTD
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-8605@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=6146&edit=1 ID: 6146 Updated by: cellog@php.net Reported By: techtonik at php dot net -Status: Assigned +Status: Closed Id: 6146 Type: Bug Package: Documentation PHP Version: Irrelevant Assigned To: cellog New Comment: This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. Previous Comments: ------------------------------------------------------------------------ [2006-09-23 05:55:52] mj at php dot net So the question is if the DTD is wrong (as suggested by your patch) or if the example in the manual is broken. Let's see what Greg has to say about this. He is the one in charge for all things DTD :-). ------------------------------------------------------------------------ [2005-12-04 13:57:56] techtonik at php dot net --- package-1_old.0 Sat Nov 12 05:14:16 2005 +++ package-1.0 Sun Dec 4 20:56:38 2005 @@ -8,10 +8,10 @@ Copyright (c) 1997-2005 The PHP Group - This source file is subject to version 3.00 of the PHP license, + This source file is subject to version 3.01 of the PHP license, that is bundled with this package in the file LICENSE, and is available at through the world-wide-web at - http://www.php.net/license/3_0.txt. + http://www.php.net/license/3_01.txt. If you did not receive a copy of the PHP license and are unable to obtain it through the world-wide-web, please send a note to license@php.net so we can mail you a copy immediately. @@ -47,7 +47,7 @@ <!ELEMENT changelog (release)+> -<!ELEMENT release (version,date,license,state,notes,warnings?,provides*,deps?,configureoptions?,filelist?)> +<!ELEMENT release (version,date,license?,state,notes,warnings?,provides*,deps?,configureoptions?,filelist?)> <!ELEMENT version (#PCDATA)> @@ -85,14 +85,14 @@ role (php|ext|src|test|doc|data|script) 'php' baseinstalldir CDATA #IMPLIED> -<!ELEMENT file (replace*)> +<!ELEMENT file (#PCDATA|replace)*> <!ATTLIST file role (php|ext|src|test|doc|data|script) 'php' debug (na|on|off) 'na' format CDATA #IMPLIED baseinstalldir CDATA #IMPLIED platform CDATA #IMPLIED md5sum CDATA #IMPLIED - name CDATA #REQUIRED + name CDATA #IMPLIED install-as CDATA #IMPLIED> <!ELEMENT replace EMPTY> ------------------------------------------------------------------------ [2005-12-04 13:15:13] techtonik at php dot net Description: ------------ http://pear.php.net/manual/en/developers.packagedef.php Examples in Chapter 15. "The package definition file package.xml" do not validate against DTD. Try to compile skeletons provided on this page with xmllint command, provided on the same page few lines earlier. ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=6146&edit=1

« previous php.pear.doc (#8605) next »