<div dir="ltr"><div><div><div><br></div>Here is yet another:<br><a href="http://service.iris.edu/fdsnws/station/1/query?network=II&station=AAK&channel=LOG&level=channel&nodata=404">http://service.iris.edu/fdsnws/station/1/query?network=II&station=AAK&channel=LOG&level=channel&nodata=404</a><br>
<br></div>This has a <Response> that contains an empty <InstrumentSensitivity>, which violates the schemd. Probably it would be better to not have the <Response> tag in this channel at all, being it is a log channel.<br>
<br></div>Philip<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 9, 2013 at 11:32 AM, Philip Crotwell <span dir="ltr"><<a href="mailto:crotwell@seis.sc.edu" target="_blank">crotwell@seis.sc.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><br></div>Here is a different case, maybe caused by bad data.<br><br><a href="http://service.iris.edu/fdsnws/station/1/query?network=II&station=AAK&loc=00&channel=LCE&level=channel&nodata=404" target="_blank">http://service.iris.edu/fdsnws/station/1/query?network=II&station=AAK&loc=00&channel=LCE&level=channel&nodata=404</a><br>
<br></div>Near the bottom, the <InstrumentSensitivity> is supposed to contain both <InputUnits> and <OutputUnits> but only has <InputUnits>.<span class="HOEnZb"><font color="#888888"><br><br></font></span></div>
<span class="HOEnZb"><font color="#888888">Philip<br><br><br></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Apr 9, 2013 at 11:28 AM, Philip Crotwell <span dir="ltr"><<a href="mailto:crotwell@seis.sc.edu" target="_blank">crotwell@seis.sc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><br></div>Hi<br><br>The returned xml from this query is invalid according to the fdsn stationxml spec. :<br><br><a href="http://service.iris.edu/fdsnws/station/1/query?network=IU&station=ANMO&loc=00&channel=BHZ&level=response&nodata=404" target="_blank">service.iris.edu/fdsnws/station/1/query?network=IU&station=ANMO&loc=00&channel=BHZ&level=response&nodata=404</a><br>
<br></div>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. <br><br>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.<span><font color="#888888"><br>
<br></font></span></div><span><font color="#888888">Philip <br></font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>