Dear colleagues of FDSN WG3,
Our last fdsnws/station specification is 1.2 and dates (content-wise) of
April 2, 2019 (an update in June refers to the formatting of the
standards document only).
According to this document, the fdsnws/station response format is
“StationXML” (or text), without indication of the version, and thus,
implicitly, referring to StationXML 1.0
On May 3, 2019, FDSNwg 3 published a new version 1.1 of StationXML.
John and Chad describe the the compatibility situation as follows:
“Additionally, a number of backwards-compatible changes suggested at
previous meetings and on the project site were incorporated. Conforming
to the versioning rules, all 1.0 version documents are also compliant
with schema version 1.1, with one exception: the <StorageFormat> element
was removed from the schema, but is not widely used and not expected to
cause incompatibility.”
We would summarize this as follows:
-stationXML 1.0 remains forward-compatible with 1.0, thus an “old” xml
document is still readable for software implemented for the 1.1 format
(with the exception mentioned)
-stationXML 1-1 is *not* backward-compatible with 1.1, thus a new
document violates the old specification and is not readable for software
implemented against the 1.0 specification.
This has implications on the fdsnws/station/1/ web service. The
standards document v. 1.2 says the following on service versioning:
“Web service implementations are versioned according the following
three-digit (x.y.z) pattern:
SpecMajor . SpecMinor . Implementation Where the fields have the
following meaning:
SpecMajor : The major specification version*, all implementations
sharing this SpecMajor value will be backwards compatible with all
prior releases.* Values start at 1. “
And
“The following base URI pattern is to be used at each data center
implementing FDSN services: <site>/fdsnws/<service>/*<majorversion>*/”
Thus, an FDSNWS user can expect that if she/he has implemented an
fdsnws-station client according to the standard (thus, capable of
digesting the stationXML of the time, e.g. 1.0), this client will never
break, as long as she/he addresses the service under the same url
…/fdsnws/station/*1*/… .
An updated service with a non-backward-compatible response should have a
different url …/fdsnws/station/2/…
So, at the time being, it violates the fdsnws/station v. 1.x standard,
and the justified expectation of some users, if a service
fdsnws/station/1/ 1.x service returns the new stationXML 1.1 format.
(at the same time, an fdsnws/station service provider of 2020 may, when
reading the fdsnws/station/1/ specification, may not pay attention that
it pre-dates the stationXML 1.1 version, and consider returning that
very format)
Proposed way out:
-have a new fdsnws/station/1/ specification version 1.2(.1) with the
only change that it explicitly says that it is referring to stationXML
1.0 as its response format
-have a fdsnws/station/2/ specification 2.0 saying that the response
format is 1.1 or any *backward* compatible upper version
Kind regards,
Daniel Armbruster
Philipp Kästli
Swiss Seismological Service @ ETHZ
----------------------
FDSN Working Group III
Topic home:
http://www.fdsn.org/message-center/topic/fdsn-wg3-products/ | Unsubscribe: fdsn-wg3-products-unsubscribe<at>lists.fdsn.org
Sent from the FDSN Message Center (
http://www.fdsn.org/message-center/)
Update subscription preferences at
http://www.fdsn.org/account/profile/