iris-edu / stationxml-validator

GNU General Public License v3.0
16 stars 8 forks source link

Ability to pass stationXML as standard input #148

Open jschaeff opened 1 year ago

jschaeff commented 1 year ago

Hello,

would'nt it be beautiful if we could do something like this ?

wget -qO-  "https://webservices.ingv.it/fdsnws/station/1/query?level=network&format=xml&net=IV" | java -jar stationxml-validator-1.7.4.jar -
timronan commented 1 year ago

@jschaeff thank you for the suggestion. We will consider how to either validating objects in place, or pass a string directly into the validator's cli in it's next release.