Copyright (C) 2016, International Business Machines Corporation and others. All Rights Reserved.
This is an experimental file, no formal stability guarantees are in place. Practically, it is the intent to keep the contents and URLs stable as described herein, and they have remained stable.
ICU provides machine-readable metadata about ICU releases. This document serves as the documentation for such metadata.
http://icu-project.org/xml/README.md is the canonical URL for this document. See http://icu-project.org for general ICU information.
Note that the URLs given redirect to specific locations, be sure to follow redirects (curl -L
for example) to be able to fetch the document.
The primary scope of the metadata is to answer the following questions:
There may be additional information available in the metadata files, as these are stabilized this document may be updated.
The XML version of ICU metadata is located at the canonical URL:
Here is an simplified example snippet of the file:
<icuInfo> <icuProducts> <icuProduct type="icu4c"> <releases> <release version="57.1" draft="proposed"> <dates> <date date="2016-03-31" type="ga"/> </dates> </release> <release version="56.1"> <dates> <date date="2015-10-07" type="ga"/> </dates> </release> </icuProduct> <!-- icu4j, icu4jni … --> </icuProducts> </icuInfo>
The top level element is <icuInfo>
. Under the <icuProducts>
element, there is one <icuProduct>
entry for the three projects: icu4c
, icu4j
, and the discontinued <icu4jni>
.
Under the <releases>
element, there is one <release>
element for each ICU release. If the <release>
is marked with the draft="proposed"
attribute, it notes that the release date is not finalized and this element should NOT be considered as the official release date for ICU.
Under the <dates>
element there may be multiple <date>
elements. The <date>
element with a type="ga"
attribute is the only one which may be used to determine the ICU GA (General Availability date). The date=
attribute on the <date>
element gives the release date, in Year-Month-Day format. For example, 2015-10-07
indicates October 7th, 2015 AD (Gregorian calendar).
The actual XML file contains a reference to an XML DTD and may be validated.
The JSON version is new, please give feedback if you have any.
The JSON version of ICU metadata is located at the canonical URL:
A simplified view of the data follows:
{ "//": "Copyright (c) 2016 IBM Corporation and Others, All Rights Reserved.", "docs": "http://icu-project.org/xml/README.md", "metaversion": 1, "projects": { "icu4c": { "releases": { "56.1": { "dates": { "ga": "2015-10-07" } }, "55.1": { "dates": { "ga": "2015-04-01" } }, … many more versions … "proposedReleases": { "57.1": { "dates": { "ga": "2016-03-31" } } }, … icu4j, icu4jni … } }
//
value is a copyright string, it may be ignored for processingdocs
value is the URL of this documentmetaversion
value is the version number of the metadata document. It's currently “1”.projects
hash contains a value for each of the projects (icu4c, icu4j, icu4jni)icu4c
is the hash releases
releases
hash is a hash for each version, such as 56.1
56.1
there is a hash dates
having a key of ga
and value with the date in year-month-day formatproposedReleases
(if present) shows any draft (non-final) releases.