[webservices] A question of location ID, how to represent empty IDs in XML?

Robert Barsch barsch at egu.eu
Thu Jul 31 00:20:16 PDT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear all,

Maybe some stupid questions: Are there actually any valid use cases
for having to distinct between empty and unknown location code within
the data? If so, does this than also apply for network, station,
channel codes? So if the community opts to go for unknown as well as
an empty/unset markers for the location field shouldn't be the same
markers used for unknown/unset network etc.?

>> In terms of existing StationXML parsers I assume most are just 
>> stripping whitespaces from the location code and thus “”  and “
>> “ should already work resulting in minimal disruption in the
>> users’ workflows.

Usually without DTD or XML schema definition, all whitespaces are
significant whitespaces and should be preserved by any XML parsers. I
guess Lion meant with StationXML parser more than the plain XML
parser. I don't know what other clients do, but ObsPy strips
internally all Net/Sta/Loc/Cha field values.

Cheers,
Robert


PS: for some reason did my previous mail sent last weekend not appear
at this list, also I didn't receive all replies to this thread as
archived in
http://www.iris.washington.edu/pipermail/webservices/2014-July/thread.html
(e.g.
http://www.iris.washington.edu/pipermail/webservices/2014-July/000554.html
was missing)- I didn't get any bounce or error message from mailman
either? Any idea?

- -- 
Dr. Robert Barsch

EGU Office Munich
Luisenstr. 37
80333 Munich
Germany

Phone: +49-89-21806565
Fax:   +49-89-218017855
eMail: barsch at egu.eu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlPZ7jAACgkQIVowwEY4LjSiAgCgusUFqWH2KagflnXyxGzGcynz
duEAn3TfsXf7uPmQ99c4N4V6v/KxUNel
=vpwD
-----END PGP SIGNATURE-----


More information about the webservices mailing list