-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Brian Dolbec:
> On Thu, 28 Apr 2016 15:39:05 -0400 Göktürk Yüksek
> <[email protected]> wrote:
> 
>> --- metadata.dtd | 5 +---- 1 file changed, 1 insertion(+), 4
>> deletions(-)
>> 
>> diff --git a/metadata.dtd b/metadata.dtd index 7626a57..b608852
>> 100644 --- a/metadata.dtd +++ b/metadata.dtd @@ -3,7 +3,7 @@ 
>> <!ATTLIST catmetadata pkgname CDATA "">
>> 
>> <!-- Metadata for a package --> -<!ELEMENT pkgmetadata (
>> (maintainer|natural-name|longdescription|slots|use|upstream)* )> 
>> +<!ELEMENT pkgmetadata (
>> (maintainer|longdescription|slots|use|upstream)* )> <!ATTLIST 
>> pkgmetadata pkgname CDATA ""> <!-- One tag for each maintainer of
>> a package, multiple allowed--> @@ -13,9 +13,6 @@ explicit type)
>> for Gentoo maintainers is prohibited. --> <!ATTLIST maintainer
>> type (person|project|unknown) "unknown">
>> 
>> -  <!-- Natural name for package, example: LibreOffice (for 
>> app-office/libreoffice) --> -  <!ELEMENT natural-name (#PCDATA)
>> > - <!-- A long description of the package in freetext--> 
>> <!ELEMENT longdescription (#PCDATA|pkg|cat)* >
>> 
> 
> 
> Isn't this almost obsolete?  it's now xmlschema...  And I hope to
> have the new repoman with it out this weekend :)
> 

Does GLEP 68 explicitly declare metadata.dtd obsolete? I see that the
example metadata.xml on the GLEP is missing DOCTYPE, are we getting
rid of those too?

I understand that the DTD is more like a super-set, so anything that
complies with GLEP 68 will comply with the DTD as well. However, there
is a caveat here: for example the GLEP dismisses the list of possible
values for <remote-id/> by saying "The list of available trackers and
their specific identifiers are outside scope of this specification."
but does not mention where these values shall be kept either. The
moment we add a new remote-id, the xmlschema diverges from the DTD and
stops being a subset.

Besides, the PMS says the format of metadata.xml is described in DTD.
Even if we move to something else, doesn't metadata.dtd need to be
kept around until the PMS is amended?

- --
gokturk

-----BEGIN PGP SIGNATURE-----

iQEcBAEBCgAGBQJXIp+LAAoJEIT4AuXAiM4zszAIAI8GPcE8Ap3b652DYWRX/THb
IeRBMGyTsgu8s0GB5i7Qfy94uKMxc1+9SCipEK0GoBq7Vkeils8SHdSNCt2TPE6t
Hzh4UG6lI7qebMVrsRi85GDZr1l4HA5/Co54lizMlFW7uO8vgRRU2Cj7AfPt/BFQ
zan7+yQv+zLv0OVxb2XPAnbCMn0cL5PIzSBXN4aN+p58FVOwJlUs/tEQbNOKjRWK
v6J4ejz4QA8Sy6Gx7aAupBzT+8YhtU9BLMWzbSf4VEMBELD8ZrzYfZtxZQNcpkFV
INef3hFcpM+5whHTDQ0QfAbVXEyRRVoMo1W87yZLUT7qUrlRcMhbjopT6+e+ZCs=
=HDEG
-----END PGP SIGNATURE-----

Reply via email to