Unidata / netcdf-java

The Unidata netcdf-java library
https://docs.unidata.ucar.edu/netcdf-java/current/userguide/index.html
BSD 3-Clause "New" or "Revised" License
142 stars 69 forks source link

DOC: Oudated link to ncml XSD in NCML documentation #1271

Closed bzah closed 7 months ago

bzah commented 8 months ago

Versions impacted by the bug

Latest NCML documentation (June 27, 2022)

What went wrong?

The XSD located at https://schemas.unidata.ucar.edu/netcdf/ncml-2.2.xsd that is linked in the documentation at https://docs.unidata.ucar.edu/thredds/ncml/2.2/index.html#advanced-ncml is not the same as the one in https://github.com/Unidata/netcdf-java/blob/maint-5.x/cdm/core/src/main/resources/resources/nj22/schemas/ncml-2.2.xsd even though the version number is the same (2.2).

In particular the unsigned types are missing in the xsd linked in the documentation which causes issues for tools that may base their implementation on this XSD (such as xncml).

Note

I'm not sure where the documentation for ncml is, sorry if this issue is on the wrong repository.

Relevant stack trace

No response

Relevant log messages

No response

If you have an example file that you can share, please attach it to this issue.

If so, may we include it in our test datasets to help ensure the bug does not return once fixed? Note: the test datasets are publicly accessible without restriction.

N/A

Code of Conduct

tdrwenski commented 7 months ago

Thanks for bringing this bug to our attention! We have just updated the schema on https://schemas.unidata.ucar.edu/netcdf/ncml-2.2.xsd to match the one on GitHub, as the changes are backwards compatible. But we will try to ensure that this uses semantic versioning correctly in the future.