Bug #6146 [Opn->Asn]: package.xml examples do not validate against DTD
| From: | mj@php.net | Date: | Sat, 23 Sep 2006 09:55:53 +0000 |
| Subject: | Bug #6146 [Opn->Asn]: package.xml examples do not validate against DTD | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-8495@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: mj@php.net
Reported By: techtonik at php dot net
-Status: Open
+Status: Assigned
Id: 6146
Type: Bug
Package: Documentation
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cellog
New Comment:
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 :-).
Previous Comments:
------------------------------------------------------------------------
[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