relaton / relaton-ogc

Relaton for OGC
MIT License
2 stars 0 forks source link

"No access to online site" when fetching OGC references #11

Closed manuelfuenmayor closed 4 years ago

manuelfuenmayor commented 4 years ago

Not sure if this is a bug. But I'm not been able to fetch OGC references apparently because I have no access to the online site

[bibliography]
== Normative References

The following normative references are used in this document.

* [[[OGC12-080r2,OGC 12-080r2]]], OGC OWS Context Conceptual Model, 2013-09-01, https://portal.opengeospatial.org/files/?artifact_id=55182

* [[[OGC12-084r2,OGC 12-084r2]]], OGC OWS Context Atom Encoding Standard, 2014-01-14, https://portal.opengeospatial.org/files/?artifact_id=55183 or online at http://docs.opengeospatial.org/is/12-084r2/12-084r2.html

* [[[OGC14-055r2,OGC 14-055r2]]], OGC OWS Context GeoJSON Encoding Standard 2016-10-08. This document has now been approved as an OGC Standard but has yet to be published to the OGC Standards registry.

* [[[OGC15-113r2,OGC 15-113r2]]], OGC CDB Core Standard. This document has now been approved as an OGC Standard but has yet to be published to the OGC Standards registry.

* [[[GeoRSS,GeoRSS]]], GeoRSS Geographically Encoded Objects for RSS Feeds. (http://www.georss.org/)

Part of the message:

$ bundle exec metanorma -t ogc -x doc sources/16-080/document.adoc
[relaton] cache relaton/cache/ietf/: version is obsolete and cache is cleared.
[relaton] cache relaton/cache/iso/: version is obsolete and cache is cleared.
[relaton] cache relaton/cache/ogc/: version is obsolete and cache is cleared.
[relaton-ogc] ("OGC 12-080r2") fetching...
Bibliography: Could not retrieve OGC 12-080r2: no access to online site
[relaton-ogc] ("OGC 12-084r2") fetching...
Bibliography: Could not retrieve OGC 12-084r2: no access to online site
[relaton-ogc] ("OGC 14-055r2") fetching...
Bibliography: Could not retrieve OGC 14-055r2: no access to online site
[relaton-ogc] ("OGC 15-113r2") fetching...
Bibliography: Could not retrieve OGC 15-113r2: no access to online site
GeoRSS does not have a recognised prefix: CN, IEC, IETF, ISO, ITU, NIST, OGC, CC, OMG, UN, W3C, IEEE, IHO.
...
ronaldtse commented 4 years ago

@manuel489 sorry for the late reply. Yes this is a bug -- @andrew2net can you have a look?

andrew2net commented 4 years ago

@ronaldtse I don't have this issue when running the latest metanorma:

$ bundle exec metanorma -t ogc -x doc sources/16-080/document.adoc
nil versions are discouraged and will be deprecated in Rubygems 4
[relaton-ogc] ("OGC 12-080r2") fetching...
[relaton-ogc] ("OGC 12-080r2") found 12-080r2
[relaton-ogc] ("OGC 12-084r2") fetching...
[relaton-ogc] ("OGC 12-084r2") found 12-084r2
[relaton-ogc] ("OGC 14-055r2") fetching...
[relaton-ogc] ("OGC 14-055r2") found 14-055r2
[relaton-ogc] ("OGC 15-113r2") fetching...
[relaton-ogc] WARNING: no match found online for OGC 15-113r2. The code must be exactly like it is on the standards website.
...

the last reference "OGC 15-113r2" doesn't present in the OGC data

ronaldtse commented 4 years ago

@andrew2net perhaps it is something to do with the document build? Could you have a look? Thanks!

andrew2net commented 4 years ago

@ronaldtse I've tried to build mn-samples-ogc. All the OGC not-found documents don't exist in the source data. Could you try to update metanorma and relaton to the latest version?

ronaldtse commented 4 years ago

Do you mean all the references are correct and work?

manuelfuenmayor commented 4 years ago

Hi @andrew2net, I'm working with metanorma-ogc 1.2.2 and relaton-ogc 1.3.0. I believe these are latest versions, right?

andrew2net commented 4 years ago

@ronaldtse I don't know if all the references are correct, but some of them don't exist in the bibliography.json. The existed documents are fetched correctly.

andrew2net commented 4 years ago

Hi @manuel489, yes, I use metanorma-ogc 1.2.2 and relaton-ogc 1.3.0

manuelfuenmayor commented 4 years ago

@andrew2net, you are absolutely right, the OGC references are fetching correctly. I tested them in Ubuntu. This is an internal issue that I have in Windows. I'm sorry. Closing.