diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-10-07 22:24:52 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-10-14 17:35:01 +0200 |
commit | 5330e6efbdf16a1aef8b257201359f224484f235 (patch) | |
tree | 6fe9b083ac521341e5d5216096ee5ad55b0b564e | |
parent | glep-0068: Clarify and restrict XML data format (diff) | |
download | glep-5330e6efbdf16a1aef8b257201359f224484f235.tar.gz glep-5330e6efbdf16a1aef8b257201359f224484f235.tar.bz2 glep-5330e6efbdf16a1aef8b257201359f224484f235.zip |
glep-0068: Indicate that unknown elements should be ignored
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>
-rw-r--r-- | glep-0068.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/glep-0068.rst b/glep-0068.rst index a2bee64..9d10aaa 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 |