Hi
So two of the three stationXML examples on the SCEC website are
invalid. IMHO, a lot of the value of having a schema is lost if it
isn't used for validation, at least occasionally.
I have to say that writing code to deal with StationXML is made more
complicated than it needs to be when the documentation, the xschema,
and the examples+web services are all slightly incompatible. It would
be really nice if the agreement between these three could be tightened
up a bit, especially if stationxml based web services are going to be
"the" way to programatically access metadata at the DMC in the future.
Apologies if the web services list is not the right place to post
stationXML comments.
...sigh...
Philip
CI_stations.xml:
--------------------------
The following errors were found:
TYPE LOC MESSAGE
Validation 20, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 35, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 50, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 65, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 80, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 95, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 110, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 125, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 140, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 155, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 170, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 185, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 200, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 215, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 230, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 245, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 260, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 275, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 290, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 305, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 320, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Terminal 0, 0 There have been too many errors, please check that you
have not submitted the instance and schema the wrong way round.
CI_BAR_resp.xml:
-------------------------------
The following errors were found:
TYPE LOC MESSAGE
Validation 18, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 35, 26 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'SensitivityUnits'. One of
'{"http://www.data.scec.org/xml/station/":SensitivityValue}' is
expected.
Validation 15864, 26 cvc-complex-type.2.4.a: Invalid content was
found starting with element 'SensitivityUnits'. One of
'{"http://www.data.scec.org/xml/station/":SensitivityValue}' is
expected.
Validation 42961, 26 cvc-complex-type.2.4.a: Invalid content was
found starting with element 'SensitivityUnits'. One of
'{"http://www.data.scec.org/xml/station/":SensitivityValue}' is
expected.
Validation 43552, 17 cvc-complex-type.2.4.b: The content of element
'Response' is not complete. One of
'{"http://www.data.scec.org/xml/station/":StageSensitivity}' is
expected.
Validation 45159, 17 cvc-complex-type.2.4.b: The content of element
'Response' is not complete. One of
'{"http://www.data.scec.org/xml/station/":StageSensitivity}' is
expected.
Validation 46766, 17 cvc-complex-type.2.4.b: The content of element
'Response' is not complete. One of
'{"http://www.data.scec.org/xml/station/":StageSensitivity}' is
expected.
Validation 47906, 26 cvc-complex-type.2.4.a: Invalid content was
found starting with element 'SensitivityUnits'. One of
'{"http://www.data.scec.org/xml/station/":SensitivityValue}' is
expected.
Validation 48159, 26 cvc-complex-type.2.4.a: Invalid content was
found starting with element 'SensitivityUnits'. One of
'{"http://www.data.scec.org/xml/station/":SensitivityValue}' is
expected.
Validation 62655, 26 cvc-complex-type.2.4.a: Invalid content was
found starting with element 'SensitivityUnits'. One of
'{"http://www.data.scec.org/xml/station/":SensitivityValue}' is
expected.
So two of the three stationXML examples on the SCEC website are
invalid. IMHO, a lot of the value of having a schema is lost if it
isn't used for validation, at least occasionally.
I have to say that writing code to deal with StationXML is made more
complicated than it needs to be when the documentation, the xschema,
and the examples+web services are all slightly incompatible. It would
be really nice if the agreement between these three could be tightened
up a bit, especially if stationxml based web services are going to be
"the" way to programatically access metadata at the DMC in the future.
Apologies if the web services list is not the right place to post
stationXML comments.
...sigh...
Philip
CI_stations.xml:
--------------------------
The following errors were found:
TYPE LOC MESSAGE
Validation 20, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 35, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 50, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 65, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 80, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 95, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 110, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 125, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 140, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 155, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 170, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 185, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 200, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 215, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 230, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 245, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 260, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 275, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 290, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 305, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 320, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Terminal 0, 0 There have been too many errors, please check that you
have not submitted the instance and schema the wrong way round.
CI_BAR_resp.xml:
-------------------------------
The following errors were found:
TYPE LOC MESSAGE
Validation 18, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 35, 26 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'SensitivityUnits'. One of
'{"http://www.data.scec.org/xml/station/":SensitivityValue}' is
expected.
Validation 15864, 26 cvc-complex-type.2.4.a: Invalid content was
found starting with element 'SensitivityUnits'. One of
'{"http://www.data.scec.org/xml/station/":SensitivityValue}' is
expected.
Validation 42961, 26 cvc-complex-type.2.4.a: Invalid content was
found starting with element 'SensitivityUnits'. One of
'{"http://www.data.scec.org/xml/station/":SensitivityValue}' is
expected.
Validation 43552, 17 cvc-complex-type.2.4.b: The content of element
'Response' is not complete. One of
'{"http://www.data.scec.org/xml/station/":StageSensitivity}' is
expected.
Validation 45159, 17 cvc-complex-type.2.4.b: The content of element
'Response' is not complete. One of
'{"http://www.data.scec.org/xml/station/":StageSensitivity}' is
expected.
Validation 46766, 17 cvc-complex-type.2.4.b: The content of element
'Response' is not complete. One of
'{"http://www.data.scec.org/xml/station/":StageSensitivity}' is
expected.
Validation 47906, 26 cvc-complex-type.2.4.a: Invalid content was
found starting with element 'SensitivityUnits'. One of
'{"http://www.data.scec.org/xml/station/":SensitivityValue}' is
expected.
Validation 48159, 26 cvc-complex-type.2.4.a: Invalid content was
found starting with element 'SensitivityUnits'. One of
'{"http://www.data.scec.org/xml/station/":SensitivityValue}' is
expected.
Validation 62655, 26 cvc-complex-type.2.4.a: Invalid content was
found starting with element 'SensitivityUnits'. One of
'{"http://www.data.scec.org/xml/station/":SensitivityValue}' is
expected.
-
Hi Phillip,
As part of the stationXML working group I want to tell you we are receiving
your comments and processing them. It's true the examples are not up to
date with the schema and we are working on getting them updated. Maybe we
should take those down in the meantime. I believe everyone who is working
on the schema is on this list so this is an appropriate place to post.
Ellen
On Thu, Oct 20, 2011 at 10:40 AM, Philip Crotwell <crotwell<at>seis.sc.edu>wrote:
Hi
So two of the three stationXML examples on the SCEC website are
invalid. IMHO, a lot of the value of having a schema is lost if it
isn't used for validation, at least occasionally.
I have to say that writing code to deal with StationXML is made more
complicated than it needs to be when the documentation, the xschema,
and the examples+web services are all slightly incompatible. It would
be really nice if the agreement between these three could be tightened
up a bit, especially if stationxml based web services are going to be
"the" way to programatically access metadata at the DMC in the future.
Apologies if the web services list is not the right place to post
stationXML comments.
...sigh...
Philip
CI_stations.xml:
--------------------------
The following errors were found:
TYPE LOC MESSAGE
Validation 20, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 35, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 50, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 65, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 80, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 95, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 110, 20 cvc-complex-type.2.4.a: Invalid content was
found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 125, 20 cvc-complex-type.2.4.a: Invalid content was
found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 140, 20 cvc-complex-type.2.4.a: Invalid content was
found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 155, 20 cvc-complex-type.2.4.a: Invalid content was
found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 170, 20 cvc-complex-type.2.4.a: Invalid content was
found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 185, 20 cvc-complex-type.2.4.a: Invalid content was
found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 200, 20 cvc-complex-type.2.4.a: Invalid content was
found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 215, 20 cvc-complex-type.2.4.a: Invalid content was
found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 230, 20 cvc-complex-type.2.4.a: Invalid content was
found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 245, 20 cvc-complex-type.2.4.a: Invalid content was
found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 260, 20 cvc-complex-type.2.4.a: Invalid content was
found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 275, 20 cvc-complex-type.2.4.a: Invalid content was
found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 290, 20 cvc-complex-type.2.4.a: Invalid content was
found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 305, 20 cvc-complex-type.2.4.a: Invalid content was
found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 320, 20 cvc-complex-type.2.4.a: Invalid content was
found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Terminal 0, 0 There have been too many errors, please check that
you
have not submitted the instance and schema the wrong way round.
CI_BAR_resp.xml:
-------------------------------
The following errors were found:
TYPE LOC MESSAGE
Validation 18, 20 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'NumberChannels'. One of
'{"http://www.data.scec.org/xml/station/":TerminationDate,
"http://www.data.scec.org/xml/station/":NumberRecorders,
"http://www.data.scec.org/xml/station/":TotalNumberChannels,
"http://www.data.scec.org/xml/station/":SelectedNumberChannels,
"http://www.data.scec.org/xml/station/":Dataless,
"http://www.data.scec.org/xml/station/":ExternalReport,
"http://www.data.scec.org/xml/station/":Channel}' is expected.
Validation 35, 26 cvc-complex-type.2.4.a: Invalid content was found
starting with element 'SensitivityUnits'. One of
'{"http://www.data.scec.org/xml/station/":SensitivityValue}' is
expected.
Validation 15864, 26 cvc-complex-type.2.4.a: Invalid content was
found starting with element 'SensitivityUnits'. One of
'{"http://www.data.scec.org/xml/station/":SensitivityValue}' is
expected.
Validation 42961, 26 cvc-complex-type.2.4.a: Invalid content was
found starting with element 'SensitivityUnits'. One of
'{"http://www.data.scec.org/xml/station/":SensitivityValue}' is
expected.
Validation 43552, 17 cvc-complex-type.2.4.b: The content of
element
'Response' is not complete. One of
'{"http://www.data.scec.org/xml/station/":StageSensitivity}' is
expected.
Validation 45159, 17 cvc-complex-type.2.4.b: The content of
element
'Response' is not complete. One of
'{"http://www.data.scec.org/xml/station/":StageSensitivity}' is
expected.
Validation 46766, 17 cvc-complex-type.2.4.b: The content of
element
'Response' is not complete. One of
'{"http://www.data.scec.org/xml/station/":StageSensitivity}' is
expected.
Validation 47906, 26 cvc-complex-type.2.4.a: Invalid content was
found starting with element 'SensitivityUnits'. One of
'{"http://www.data.scec.org/xml/station/":SensitivityValue}' is
expected.
Validation 48159, 26 cvc-complex-type.2.4.a: Invalid content was
found starting with element 'SensitivityUnits'. One of
'{"http://www.data.scec.org/xml/station/":SensitivityValue}' is
expected.
Validation 62655, 26 cvc-complex-type.2.4.a: Invalid content was
found starting with element 'SensitivityUnits'. One of
'{"http://www.data.scec.org/xml/station/":SensitivityValue}' is
expected.
_______________________________________________
webservices mailing list
webservices<at>iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/webservices
-
Hi
Glad to hear that. If I find more issues I will send them in to the list.
The changes need to make CI_stations.xml valid is very minor, just
replace NumberChannels with TotalNumberChannels. The changes to
CI_BAR_resp.xml are more extensive, so perhaps removing that example
would be a good idea. Or pull a CI.BAR resp xml from the IRIS web
service. There still needs to be some hand editing to make it valid,
but much less than on the existing file. Just a thought.
How big of a revision to the stationXML schema do you anticipate? Is
this a major reworking or just a minor cleaning up of loose ends? Do
you have a draft revision yet? Would you be interested in comments on
the new version as well? As I am actively writing software to process
stationXML, I might have a useful perspective.
Thanks,
Philip
On Thu, Oct 20, 2011 at 2:03 PM, Ellen Yu <eyu<at>gps.caltech.edu> wrote:
Hi Phillip,
As part of the stationXML working group I want to tell you we are receiving
your comments and processing them. It's true the examples are not up to
date with the schema and we are working on getting them updated. Maybe we
should take those down in the meantime. I believe everyone who is working
on the schema is on this list so this is an appropriate place to post.
Ellen
-
Phillip,
We are hoping that we will only need to make minor revisions. We definitely
would like any feedback as we realize there may be unforeseen issues that
only will be shook out as people start to use the format.
We are going to release a new version that has <any> elements to allow
people to add additional information not included in StationXML. You can
find it at
http://www.data.scec.org/xml/station/20111019/station.xsd
Regards,
Ellen
On Fri, Oct 21, 2011 at 7:11 AM, Philip Crotwell <crotwell<at>seis.sc.edu>wrote:
Hi
Glad to hear that. If I find more issues I will send them in to the list.
The changes need to make CI_stations.xml valid is very minor, just
replace NumberChannels with TotalNumberChannels. The changes to
CI_BAR_resp.xml are more extensive, so perhaps removing that example
would be a good idea. Or pull a CI.BAR resp xml from the IRIS web
service. There still needs to be some hand editing to make it valid,
but much less than on the existing file. Just a thought.
How big of a revision to the stationXML schema do you anticipate? Is
this a major reworking or just a minor cleaning up of loose ends? Do
you have a draft revision yet? Would you be interested in comments on
the new version as well? As I am actively writing software to process
stationXML, I might have a useful perspective.
Thanks,
Philip
On Thu, Oct 20, 2011 at 2:03 PM, Ellen Yu <eyu<at>gps.caltech.edu> wrote:
Hi Phillip,
receiving
As part of the stationXML working group I want to tell you we are
your comments and processing them. It's true the examples are not up to
we
date with the schema and we are working on getting them updated. Maybe
should take those down in the meantime. I believe everyone who is
working
on the schema is on this list so this is an appropriate place to post.
_______________________________________________
Ellen
webservices mailing list
webservices<at>iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/webservices
-
The revised sample XML files are online at
http://www.data.scec.org/xml/station/. The CI stations and the CI.BAR
channels are still under the same name. The response XML has been
renamed to http://www.data.scec.org/xml/station/samples/CI_BAR_BH_resp.xml.
Shang-Lin
Ellen Yu wrote:
Phillip,
--
We are hoping that we will only need to make minor revisions. We
definitely would like any feedback as we realize there may be
unforeseen issues that only will be shook out as people start to use
the format.
We are going to release a new version that has <any> elements to allow
people to add additional information not included in StationXML. You
can find it at
http://www.data.scec.org/xml/station/20111019/station.xsd
Regards,
Ellen
On Fri, Oct 21, 2011 at 7:11 AM, Philip Crotwell <crotwell<at>seis.sc.edu
<crotwell<at>seis.sc.edu>> wrote:
Hi
Glad to hear that. If I find more issues I will send them in to
the list.
The changes need to make CI_stations.xml valid is very minor, just
replace NumberChannels with TotalNumberChannels. The changes to
CI_BAR_resp.xml are more extensive, so perhaps removing that example
would be a good idea. Or pull a CI.BAR resp xml from the IRIS web
service. There still needs to be some hand editing to make it valid,
but much less than on the existing file. Just a thought.
How big of a revision to the stationXML schema do you anticipate? Is
this a major reworking or just a minor cleaning up of loose ends? Do
you have a draft revision yet? Would you be interested in comments on
the new version as well? As I am actively writing software to process
stationXML, I might have a useful perspective.
Thanks,
Philip
On Thu, Oct 20, 2011 at 2:03 PM, Ellen Yu <eyu<at>gps.caltech.edu
<eyu<at>gps.caltech.edu>> wrote:
Hi Phillip,
are receiving
As part of the stationXML working group I want to tell you we
your comments and processing them. It's true the examples are
not up to
date with the schema and we are working on getting them
updated. Maybe we
should take those down in the meantime. I believe everyone who
is working
on the schema is on this list so this is an appropriate place to
post.
Ellen
_______________________________________________
webservices mailing list
webservices<at>iris.washington.edu
<webservices<at>iris.washington.edu>
http://www.iris.washington.edu/mailman/listinfo/webservices
------------------------------------------------------------------------
_______________________________________________
webservices mailing list
webservices<at>iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/webservices
Shang-Lin Chen
Southern California Earthquake Data Center (SCEDC)
System administrator/Programmer
http://www.data.scec.org
-
-
-