From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 31E53158087 for ; Tue, 25 Jan 2022 08:11:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E2AEE07BA; Tue, 25 Jan 2022 08:11:22 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1404CE07BA for ; Tue, 25 Jan 2022 08:11:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7A483342E54 for ; Tue, 25 Jan 2022 08:11:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AA9432A0 for ; Tue, 25 Jan 2022 08:11:18 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1643070712.c238a3e8fd3240b27f39bb25f3368e36912b71fc.ulm@gentoo> Subject: [gentoo-commits] proj/nxml-gentoo-schemas:master commit in: / X-VCS-Repository: proj/nxml-gentoo-schemas X-VCS-Files: mirrors.rnc X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: c238a3e8fd3240b27f39bb25f3368e36912b71fc X-VCS-Branch: master Date: Tue, 25 Jan 2022 08:11:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d6150b60-19ca-4dde-abe9-1a84fe4a67d0 X-Archives-Hash: 59b2d5114a555fdf6b92c57451d3f534 commit: c238a3e8fd3240b27f39bb25f3368e36912b71fc Author: Ulrich Müller gentoo org> AuthorDate: Tue Jan 25 00:31:52 2022 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Tue Jan 25 00:31:52 2022 +0000 URL: https://gitweb.gentoo.org/proj/nxml-gentoo-schemas.git/commit/?id=c238a3e8 mirrors.rnc: Update from DTD Signed-off-by: Ulrich Müller gentoo.org> mirrors.rnc | 26 ++++---------------------- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/mirrors.rnc b/mirrors.rnc index e516d0c..23a8d7d 100644 --- a/mirrors.rnc +++ b/mirrors.rnc @@ -1,27 +1,20 @@ -# $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: # # ... # # ... -# -# Canada -# ... -# # namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0" -mirrors = element mirrors { attlist.mirrors, mirrorgroup*, countries } +mirrors = element mirrors { attlist.mirrors, mirrorgroup* } attlist.mirrors &= empty # element: mirrorgroup # description: Group mirrors by region and country. -# The country code must exist in //countries/country # example: # # ... @@ -31,7 +24,8 @@ attlist.mirrors &= empty mirrorgroup = element mirrorgroup { attlist.mirrorgroup, mirror* } attlist.mirrorgroup &= attribute region { text }, - attribute country { xsd:IDREF } + attribute country { text }, + attribute countryname { text }? # element: mirror # description: One per mirror; name the mirror and provide one or more uris # optionally: provide GPS coordinates, a city and a bug id. @@ -64,16 +58,4 @@ attlist.uri &= [ a:defaultValue = "n" ] attribute partial { "Y" | "y" | "N" | "n" }?, [ a:defaultValue = "http" ] attribute protocol { "http" | "ftp" | "rsync" }? -# element: countries -# description: A list of countries with their code and name -# example: -# Canada -# -countries = element countries { attlist.countries, country* } -attlist.countries &= empty -# element: country -# description: A country with its code -# example: Canada -country = element country { attlist.country, text } -attlist.country &= attribute code { xsd:ID } start = mirrors