cds-astro / cds-votable-rust

Library to read/write VOTables in Rust and to convert them in JSON, YAML, TOML and back to XML.
Apache License 2.0
5 stars 1 forks source link

Relax the parsing for 1.1/1.2 versioned VOTables #3

Closed bmatthieu3 closed 1 year ago

bmatthieu3 commented 1 year ago

1.1/1.2 VOTables are not supported and trying to parse them result in panicking

This is unfortunate as these versions seem to be still quite used, e.g. simbad cone search service returns 1.2 votables panicked at 'called `Result::unwrap()` on an `Err` value: Custom("Unrecognized version. Actual: '1.2'. Expected: '1.3' or '1.4'")

It should be great to:

fxpineau commented 1 year ago

Fixed by commit 41db8bbae47c7a0ca7be89ad7ab05b32ea1ca95a