diff options
author | Repository mirror & CI <repomirrorci@gentoo.org> | 2022-01-24 21:41:12 +0000 |
---|---|---|
committer | Repository mirror & CI <repomirrorci@gentoo.org> | 2022-01-24 21:41:12 +0000 |
commit | d48cbe589043bac6be24365d19c0a1ce69d4a7d7 (patch) | |
tree | 1b62de06f0d106d32bae0bccdedbd80dac337570 /metadata/dtd | |
parent | Merge updates from master (diff) | |
parent | mirrors.dtd: Update to reflect syntax of mirror files in api.git (diff) | |
download | gentoo-d48cbe589043bac6be24365d19c0a1ce69d4a7d7.tar.gz gentoo-d48cbe589043bac6be24365d19c0a1ce69d4a7d7.tar.bz2 gentoo-d48cbe589043bac6be24365d19c0a1ce69d4a7d7.zip |
Merge commit 'bb6e63ff76ea7066f8340df51a64b3ae09a72385'
Diffstat (limited to 'metadata/dtd')
-rw-r--r-- | metadata/dtd/mirrors.dtd | 30 |
1 files changed, 4 insertions, 26 deletions
diff --git a/metadata/dtd/mirrors.dtd b/metadata/dtd/mirrors.dtd index d855815851f4..9fc622360194 100644 --- a/metadata/dtd/mirrors.dtd +++ b/metadata/dtd/mirrors.dtd @@ -1,27 +1,21 @@ -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/dtd/mirrors.dtd,v 1.3 2009/12/03 09:43:39 robbat2 Exp $ --> <!-- This file is used for keeping the new mirrors.xml file --> <!-- element: mirrors - description: A set of mirrorgroups followed by a list of countries with their code + description: A set of mirrorgroups example: <mirrors> <mirrorgroup country="US" region="North America"> ... </mirrorgroup> ... - <countries> - <country code="CA">Canada</country> - ... - </countries> </mirrors> --> -<!ELEMENT mirrors (mirrorgroup*, countries)> +<!ELEMENT mirrors (mirrorgroup*)> <!-- element: mirrorgroup description: Group mirrors by region and country. - The country code must exist in //countries/country example: <mirrorgroup region="South America" country="BZ"> <mirror> ... @@ -32,7 +26,8 @@ <!ELEMENT mirrorgroup (mirror*)> <!ATTLIST mirrorgroup region CDATA #REQUIRED - country IDREF #REQUIRED> + country CDATA #REQUIRED + countryname CDATA #IMPLIED> <!-- element: mirror description: One per mirror; name the mirror and provide one or more uris @@ -70,20 +65,3 @@ ipv6 (Y|y|N|n) "n" partial (Y|y|N|n) "n" protocol (http|ftp|rsync) "http"> - -<!-- - element: countries - description: A list of countries with their code and name - example: <countries> - <country code="CA">Canada</country> - <countries> ---> -<!ELEMENT countries (country*)> - -<!-- - element: country - description: A country with its code - example: <country code="CA">Canada</country> ---> -<!ELEMENT country (#PCDATA)> -<!ATTLIST country code ID #REQUIRED> |