[webservices] stationxml for responses is invalid

Philip Crotwell crotwell at seis.sc.edu
Tue Apr 9 08:28:22 PDT 2013


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/d815a3fd/attachment.htm>


More information about the webservices mailing list