[webservices] validation of quakeml from event web service

Philip Crotwell crotwell at seis.sc.edu
Thu Nov 10 10:23:25 PST 2011


Hi

I am having trouble validating the quakeml output from the event web
service. Have you been able to validate it to make sure it matches the
relaxng or xschema definitions of QuakeML?

The first problem is that in the schema definition the top level
<quakeml> element is in the "http://quakeml.org/xmlns/quakeml/1.2"
namespace, while the <eventParameters> and all of the elements inside
it are in the "http://quakeml.org/xmlns/bed/1.2" namespace. The output
from the web service trys to put all of them into the
"http://quakeml.org/xmlns/bed/1.2" namespace, causing a validation
error with the <quakeml> element.

thanks,
PHilip


More information about the webservices mailing list