Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

schemaVersion in stationxml from fdsn station web service #260

Open
crotwell opened this issue Dec 13, 2024 · 1 comment
Open

schemaVersion in stationxml from fdsn station web service #260

crotwell opened this issue Dec 13, 2024 · 1 comment
Assignees

Comments

@crotwell
Copy link

Current FDSN station web service returns xml that starts with:

<?xml version="1.0" encoding="UTF-8"?>
<FDSNStationXML schemaVersion="1" xmlns="http://www.fdsn.org/xml/station/1">
<Source>GeoNet</Source>

but it would be better if the actual schema version, like "1.2" was given in stead of just "1".
See http://docs.fdsn.org/projects/stationxml/en/latest/overview.html#the-fdsn-and-stationxml-schema

Ideally the first few lines of the xml would be:

<?xml version="1.0" encoding="UTF-8"?>
<FDSNStationXML xmlns="http://www.fdsn.org/xml/station/1"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://www.fdsn.org/xml/station/1 http://www.fdsn.org/xml/station/fdsn-station-1.2.xsd"
   schemaVersion="1.2">
@elidana
Copy link

elidana commented Dec 16, 2024

thanks a lot @crotwell for noticing this!
we are now generating StationXML that follow the 1.2 version, but we're not yet delivering those through the GeoNet FDSN station service.
As soon as we will implement 1.2 as the default station service, we will definitively add the schema version specification, so thanks for this comment!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants