#587 [Opn->Csd]: Missing "optional" attribute in package dtd 1.1

From: Date: Sun, 25 Jan 2004 23:34:52 +0000
Subject: #587 [Opn->Csd]: Missing "optional" attribute in package dtd 1.1
References: 1  Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-1377@lists.php.net to get a copy of this message
ID: 587 Updated by: pajoye@php.net Reported By: jan at horde dot org -Status: Open +Status: Closed Bug Type: Web Site PHP Version: Irrelevant -Assigned To: +Assigned To: pajoye New Comment: This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better. Previous Comments: ------------------------------------------------------------------------ [2004-01-15 19:11:04] jan at horde dot org Description: ------------ The attached patch add the missing "optional" to the "dep" element of the package DTD version 1.1. It also changes some single quotes to double quotes. Reproduce code: --------------- --- ../cvs/pearweb/public_html/dtd/package-1.1 2003-10-11 02:31:22.000000000 +0200 +++ scripts/package.dtd 2004-01-16 01:10:39.000000000 +0100 @@ -4,7 +4,7 @@ This is the PEAR package description, version 1.0b3. It should be used with the informal public identifier: - "-//PHP Group//DTD PEAR Package 1.0b3//EN//XML" + "-//PHP Group//DTD PEAR Package 1.1//EN//XML" Copyright (c) 1997-2003 The PHP Group @@ -69,15 +69,15 @@ <!ELEMENT dir (dir|file|libfile)*> <!ATTLIST dir name CDATA #REQUIRED - role %FileRoles; 'php' + role %FileRoles; "php" baseinstalldir CDATA #IMPLIED> <!ELEMENT file (replace)*> <!ATTLIST file name CDATA #REQUIRED - role %FileRoles; 'php' - debug (na|on|off) 'na' - threaded (na|on|off) 'na' + role %FileRoles; "php" + debug (na|on|off) "na" + threaded (na|on|off) "na" format CDATA #IMPLIED md5sum CDATA #IMPLIED install-as CDATA #IMPLIED @@ -104,7 +104,8 @@ <!ATTLIST dep type %DepTypes; #REQUIRED rel %DepRels; #IMPLIED - version CDATA #IMPLIED> + version CDATA #IMPLIED + optional (yes|no) "no"> <!ELEMENT provides EMPTY> <!ATTLIST provides ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=587&edit=1

« previous php.pear.webmaster (#1377) next »