Bug #5374 [NEW]: dtd is broken for half a year and nobody cares

From: Date: Mon, 12 Sep 2005 23:25:26 +0000
Subject: Bug #5374 [NEW]: dtd is broken for half a year and nobody cares
Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-4409@lists.php.net to get a copy of this message
From: techtonik at php dot net Operating system: PHP version: Irrelevant Package: Web Site Bug Type: Bug Bug description: dtd is broken for half a year and nobody cares Description: ------------ Ok. DTD is not determinist, doesn't conform to std and doesn't validates with xmllint. Additionally it is not synced with XSD, but this is another story. Test script: --------------- --- package-1_old.0 Sun Jul 24 19:25:42 2005 +++ package-1.0 Tue Sep 13 01:50:22 2005 @@ -49,7 +49,7 @@ <!ELEMENT changelog (release)*> -<!ELEMENT release (version,date,license,state,notes,warnings?,((deps?,configureoptions?,provides*,filelist?)|(configureoptions?,provides*,filelist?,deps?)))> +<!ELEMENT release (version,date,license,state,notes,warnings?,provides*,deps?,configureoptions?,filelist)> <!ELEMENT version (#PCDATA)> @@ -84,7 +84,8 @@ <!ELEMENT filelist (dir|file|libfile)*> <!ELEMENT dir (dir|file|libfile)*> -<!ATTLIST dir name CDATA #REQUIRED +<!ATTLIST dir role (php|ext|test|doc|data|script|src) 'php' + name CDATA #REQUIRED baseinstalldir CDATA #IMPLIED> <!ELEMENT file (replace*)> Actual result: -------------- package.xml:60: validity error : Content model of release is not determinist: (version , date , license , state , notes , warnings? , ((deps? , configureoptions? , provides* , filelist?) | (configureoptions? , provides* , filelist? , deps?))) </release> ^ -- Edit bug report at http://pear.php.net/bugs/bug.php?id=5374&edit=1 --

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