XML Schema Definition for package.xml (was: Re: [zzoss-devel] installer: description of package.xml)
Status: Alpha
Brought to you by:
czonsius
|
From: Sandro Z. <san...@zz...> - 2003-02-28 13:33:32
|
On Friday 28 February 2003 13:56, Christian Zonsius wrote: > > On Thursday 27 February 2003 01:48, Christian Zonsius wrote: > > > <?xml version=3D"1.0" encoding=3D"ISO-8859-1" ?> > > > <package version=3D"1.0"> > > > > What is the version attribute good for? > > we tried to define the package xml as far as possible to pear installer > package xml. there they use this version attribute to define which vers= ion > of the package xml structure they use here, so the installer knows how = to > parse the <package> tree. > > should we use a kind of dtd for this instead of a version attribute ? Yes, and even better, we might use a XML Schema Definition. Sandro |