[webservices] stationxml for responses is invalid

Philip Crotwell crotwell at seis.sc.edu
Tue Apr 9 08:32:53 PDT 2013


Here is a different case, maybe caused by bad data.

http://service.iris.edu/fdsnws/station/1/query?network=II&station=AAK&loc=00&channel=LCE&level=channel&nodata=404

Near the bottom, the <InstrumentSensitivity> is supposed to contain both
<InputUnits> and <OutputUnits> but only has <InputUnits>.

Philip




On Tue, Apr 9, 2013 at 11:28 AM, Philip Crotwell <crotwell at seis.sc.edu>wrote:

>
> Hi
>
> The returned xml from this query is invalid according to the fdsn
> stationxml spec. :
>
>
> service.iris.edu/fdsnws/station/1/query?network=IU&station=ANMO&loc=00&channel=BHZ&level=response&nodata=404
>
> The xschema requires all <Zero> elements to come before all <Pole>
> elements in a <PolesZeros> element, but the document has <Pole>s and then
> <Zero>s.
>
> This is a case where xschema's lack of ability to allow unordered content
> makes it hard to use. RelaxNG has a much nicer way of specifying a schema
> IMHO, but I guess that stationxml is unlikely to change from xschema.
>
> Philip
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.iris.washington.edu/pipermail/webservices/attachments/20130409/6f636bf1/attachment.htm>


More information about the webservices mailing list