|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-01-25 18:34 UTC] pajoye@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 04:00:01 2025 UTC |
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