public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] data/xml-schema:master commit in: /
Date: Sun, 23 Jan 2022 15:34:02 +0000 (UTC)	[thread overview]
Message-ID: <1642854517.d9fe77eac622d43629d9eb0aa79d9fa93c909cba.ulm@gentoo> (raw)

commit:     d9fe77eac622d43629d9eb0aa79d9fa93c909cba
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 22 12:16:07 2022 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Jan 22 12:28:37 2022 +0000
URL:        https://gitweb.gentoo.org/data/xml-schema.git/commit/?id=d9fe77ea

metadata.xsd: Support FTP URLs

Base urlType on xs:anyURI. Slightly simplify the mailto syntax (a dot
in the domain part is actually not required).

Closes: https://bugs.gentoo.org/830211
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 metadata.xsd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/metadata.xsd b/metadata.xsd
index d2e3d4f..1a86051 100644
--- a/metadata.xsd
+++ b/metadata.xsd
@@ -553,9 +553,9 @@
 	</xs:complexType>
 
 	<xs:simpleType name='urlType'>
-		<xs:restriction base='xs:token'>
+		<xs:restriction base='xs:anyURI'>
 			<!-- TODO: something better? -->
-			<xs:pattern value="(mailto:[^@]+@[^.\s]+\.\S+|https?://\S+)"/>
+			<xs:pattern value="(mailto:.+@.+|(ftp|https?)://\S+)"/>
 		</xs:restriction>
 	</xs:simpleType>
 


             reply	other threads:[~2022-01-23 15:34 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-23 15:34 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-09-14 15:49 [gentoo-commits] data/xml-schema:master commit in: / Ulrich Müller
2023-02-23 21:32 Sam James
2022-09-16  1:57 Sam James
2022-09-14 20:02 Sam James
2022-09-14 20:02 Sam James
2022-07-29 20:13 Sam James
2022-07-29 20:13 Sam James
2022-05-25 12:28 Ulrich Müller
2022-05-24 11:51 Ulrich Müller
2022-05-23 10:57 Ulrich Müller
2022-05-23 10:57 Ulrich Müller
2022-05-23 10:57 Ulrich Müller
2022-05-23  6:25 Ulrich Müller
2022-05-23  6:25 Ulrich Müller
2022-05-21 21:50 Ulrich Müller
2021-03-14 20:32 Michał Górny
2020-10-15 18:14 Michał Górny
2018-03-18  8:30 Michał Górny
2018-03-13  7:44 Michał Górny
2017-04-07 15:50 Michał Górny
2016-05-08  5:31 Michał Górny
2016-05-08  5:31 Michał Górny
2016-05-07 16:09 Michał Górny
2016-05-06 19:48 Michał Górny
2016-05-06  5:16 Michał Górny
2016-04-18 15:45 Michał Górny
2016-04-16 17:27 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1642854517.d9fe77eac622d43629d9eb0aa79d9fa93c909cba.ulm@gentoo \
    --to=ulm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox