From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: "Michał Górny" <mgorny@gentoo.org>
Subject: [gentoo-dev] [PATCH 2/2] glep-0068: Indicate that unknown elements should be ignored
Date: Sat, 8 Oct 2022 08:40:21 +0200 [thread overview]
Message-ID: <20221008064021.60348-3-mgorny@gentoo.org> (raw)
In-Reply-To: <20221008064021.60348-1-mgorny@gentoo.org>
As originally stated, the GLEP did not permit extending the format.
Let's relax the requirement to conforming files but indicate that
the parsers should ignore unknown (i.e. future) elements.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
---
glep-0068.rst | 2 ++
1 file changed, 2 insertions(+)
diff --git a/glep-0068.rst b/glep-0068.rst
index d3e3611..45ca30f 100644
--- a/glep-0068.rst
+++ b/glep-0068.rst
@@ -67,6 +67,8 @@ must not fetch or process it.
The data structure of metadata files is defined in this GLEP. The elements
and attributes do not use namespaces. Conforming files must not contain
any elements or attributes that are not defined in this specification.
+However, parsers should ignore any unknown elements or attributes in order
+to permit future extension.
Category metadata files are named ``metadata.xml`` and located inside category
directories in an ebuild repository. Their structure is described
--
2.38.0
prev parent reply other threads:[~2022-10-08 6:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-08 6:40 [gentoo-dev] [PATCH 0/2] glep-0068: Stricten the XML format Michał Górny
2022-10-08 6:40 ` [gentoo-dev] [PATCH 1/2] glep-0068: Clarify and restrict XML data format Michał Górny
2022-10-08 6:40 ` Michał Górny [this message]
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=20221008064021.60348-3-mgorny@gentoo.org \
--to=mgorny@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