#587 [NEW]: Missing "optional" attribute in package dtd 1.1

From: Date: Fri, 16 Jan 2004 00:11:04 +0000
Subject: #587 [NEW]: Missing "optional" attribute in package dtd 1.1
Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-1293@lists.php.net to get a copy of this message
From: jan at horde dot org Operating system: PHP version: Irrelevant PHP Bug Type: Web Site Bug description: Missing "optional" attribute in package dtd 1.1 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 bug report at http://pear.php.net/bugs/bug.php?id=587&edit=1 --

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