Re: package.xml DTD 1.1 avaible
| From: | Stefan Neufeind | Date: | Thu, 04 Sep 2003 08:43:28 +0000 |
| Subject: | Re: package.xml DTD 1.1 avaible | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-21045@lists.php.net to get a copy of this message | ||
On 4 Sep 2003 at 1:10, Tomas V.V.Cox wrote:
> On Thursday, September 4, 2003 0:42, Stefan Neufeind wrote:
>
> > On 3 Sep 2003 at 14:22, Tomas V.V.Cox wrote:
>
> >> I've done an big update/fix/complete of the current DTD 1.0. The
> >> main purpose of it, is to support all the new features added in the
> >> recent months and to be more strict on the pacakge.xml format.
> >>
> >> Almost none (if any) pacakge.xml file under the PEAR CVS conforms
> >> the new DTD (mostly because of the new required element order).
> >> Please review and test it (you can use the xmllint --dtdvalid
> >> command shipped with libxml2 or my DTD class), because I'd like to
> >> add DTD validation into "pear package-validate" and perhaps in the
> >> future to comply with the DTD, could become a requirement (both at
> >> the pear-cmd and the web).
> >>
> >> You can find the new dtd at:
> >>
> >> http://pear.php.net/dtd/package.1.1.dtd
> >>
> >> (is not yet a public url)
>
> > And it doesn't even appear to be "public" for us :-) Could you check
> > the url again, please?
>
> The correct url is actually:
>
> http://pear.php.net/dtd/package-1.1.dtd
Tomas,
testing your dtd against a package.xml of I got some problems
First some elements need to be re-ordered - no big deal. But:
1) Why may the provides-container exist but isn't demanded? What use
might a package have that doesn't provide anything?
2) Every changelog-item is also of type "release". But do you really
think a complete changelog should include the "filelist" for every
release? With some packages this might extremely increase the size of
the package.xml. Is it useful for anything?
All other things seem to work fine. Will update the package.xml-files
in CVS according to the dtd as soon as the above mentioned points can
be cleared.
Stefan