opengeospatial / ogcapi-discrete-global-grid-systems

https://ogcapi.ogc.org/dggs
Other
20 stars 8 forks source link

Duplicate of zone-geojson #70

Closed gbuehler closed 4 months ago

gbuehler commented 4 months ago

I am getting an error when building the document:

Modspec identifier http://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/zone-geojson is used more than once

I believe that:

core/requirements/requirements_class_zone_list_fgjson.adoc

should have the identifier listed as zone-fgjson and the inherit changed from RFC7946.

jerstlouis commented 4 months ago

Thanks @gbuehler! I'm curious, was this a fatal error for the auto-generation? I didn't even seem to see that error here and the document seemed to generate fine before the fix... Is there somewhere where we can see those auto-generation failures / reasons?

(It seems the document currently at https://opengeospatial.github.io/ogcna-auto-review/21-038.html#toc40 contains that mistake, so it does not seem to be a fatal error preventing generation).

gbuehler commented 4 months ago

@jerstlouis This was/is a fatal error in the Master of this repo. Will you be merging your update with the Master?

jerstlouis commented 4 months ago

@gbuehler oops, sorry, thought I did. Fixed.

I am really confused about it being a fatal error but the document having been updated and also working locally :)

gbuehler commented 4 months ago

@jerstlouis I just did a new clone of the repo, both on my Mac and on a Linux machine. I got the latest version of Metanorma docker instance and I now get different errors, but it still will not build:

/usr/local/bundle/gems/nokogiri-1.15.6-aarch64-linux/lib/nokogiri/xml/node.rb:1496:in coerce' /usr/local/bundle/gems/nokogiri-1.15.6-aarch64-linux/lib/nokogiri/xml/node.rb:149:inadd_child' /usr/local/bundle/gems/nokogiri-1.15.6-aarch64-linux/lib/nokogiri/xml/node.rb:257:in <<' /usr/local/bundle/gems/mn-requirements-0.3.6/lib/metanorma/modspec/table_cleanup.rb:101:inblock in expand_xrefs_in_reqt' /usr/local/bundle/gems/nokogiri-1.15.6-aarch64-linux/lib/nokogiri/xml/node_set.rb:235:in block in each' /usr/local/bundle/gems/nokogiri-1.15.6-aarch64-linux/lib/nokogiri/xml/node_set.rb:234:inupto' /usr/local/bundle/gems/nokogiri-1.15.6-aarch64-linux/lib/nokogiri/xml/node_set.rb:234:in each' /usr/local/bundle/gems/mn-requirements-0.3.6/lib/metanorma/modspec/table_cleanup.rb:100:inexpand_xrefs_in_reqt' /usr/local/bundle/gems/mn-requirements-0.3.6/lib/metanorma/modspec/table_cleanup.rb:107:in truncate_id_base_in_reqt' /usr/local/bundle/gems/mn-requirements-0.3.6/lib/metanorma/modspec/table_cleanup.rb:10:inrequirement_table_cleanup' /usr/local/bundle/gems/mn-requirements-0.3.6/lib/metanorma/modspec/isodoc.rb:11:in requirement_render1' /usr/local/bundle/gems/isodoc-2.10.1/lib/isodoc/presentation_function/reqt.rb:44:inrequirement_render1' /usr/local/bundle/gems/isodoc-2.10.1/lib/isodoc/presentation_function/reqt.rb:39:in block in requirement_render' /usr/local/bundle/gems/nokogiri-1.15.6-aarch64-linux/lib/nokogiri/xml/node_set.rb:235:inblock in each' /usr/local/bundle/gems/nokogiri-1.15.6-aarch64-linux/lib/nokogiri/xml/node_set.rb:234:in upto' /usr/local/bundle/gems/nokogiri-1.15.6-aarch64-linux/lib/nokogiri/xml/node_set.rb:234:ineach' /usr/local/bundle/gems/isodoc-2.10.1/lib/isodoc/presentation_function/reqt.rb:39:in requirement_render' /usr/local/bundle/gems/isodoc-2.10.1/lib/isodoc/presentation_xml_convert.rb:81:inblock' /usr/local/bundle/gems/isodoc-2.10.1/lib/isodoc/presentation_xml_convert.rb:43:in conversions' /usr/local/bundle/gems/isodoc-2.10.1/lib/isodoc/presentation_xml_convert.rb:25:inconvert1' /usr/local/bundle/gems/metanorma-ogc-2.5.7/lib/isodoc/ogc/presentation_xml_convert.rb:15:in convert1' /usr/local/bundle/gems/isodoc-2.10.1/lib/isodoc/convert.rb:168:inconvert' /usr/local/bundle/gems/metanorma-ogc-2.5.7/lib/metanorma/ogc/processor.rb:52:in output' /usr/local/bundle/gems/metanorma-1.7.6/lib/metanorma/compile.rb:183:inprocess_output_unthreaded' /usr/local/bundle/gems/metanorma-1.7.6/lib/metanorma/compile.rb:169:in process_exts1' /usr/local/bundle/gems/metanorma-1.7.6/lib/metanorma/compile.rb:143:inprocess_ext' /usr/local/bundle/gems/metanorma-1.7.6/lib/metanorma/compile.rb:125:in block in process_exts_run' /usr/local/bundle/gems/metanorma-1.7.6/lib/metanorma/compile.rb:124:ineach' /usr/local/bundle/gems/metanorma-1.7.6/lib/metanorma/compile.rb:124:in process_exts_run' /usr/local/bundle/gems/metanorma-1.7.6/lib/metanorma/compile.rb:119:inprocess_exts' /usr/local/bundle/gems/metanorma-1.7.6/lib/metanorma/compile.rb:35:in compile' /usr/local/bundle/gems/metanorma-cli-1.9.7/lib/metanorma/cli/compiler.rb:45:incompile_file' /usr/local/bundle/gems/metanorma-cli-1.9.7/lib/metanorma/cli/compiler.rb:30:in compile' /usr/local/bundle/gems/metanorma-cli-1.9.7/lib/metanorma/cli/compiler.rb:35:incompile' /usr/local/bundle/gems/metanorma-cli-1.9.7/lib/metanorma/cli/command.rb:244:in compile_document' /usr/local/bundle/gems/metanorma-cli-1.9.7/lib/metanorma/cli/command.rb:48:inblock in compile' /usr/local/bundle/gems/metanorma-cli-1.9.7/lib/metanorma/cli/command.rb:48:in each' /usr/local/bundle/gems/metanorma-cli-1.9.7/lib/metanorma/cli/command.rb:48:incompile' /usr/local/bundle/gems/thor-1.2.2/lib/thor/command.rb:27:in run' /usr/local/bundle/gems/thor-hollaback-0.2.1/lib/thor/hollaback.rb:68:inrun' /usr/local/bundle/gems/thor-1.2.2/lib/thor/invocation.rb:127:in invoke_command' /usr/local/bundle/gems/thor-1.2.2/lib/thor.rb:392:indispatch' /usr/local/bundle/gems/thor-1.2.2/lib/thor/base.rb:485:in start' /usr/local/bundle/gems/metanorma-cli-1.9.7/lib/metanorma/cli.rb:34:instart' /usr/local/bundle/gems/metanorma-cli-1.9.7/exe/metanorma:25:in block in <top (required)>' /usr/local/bundle/gems/metanorma-cli-1.9.7/exe/metanorma:43:in<top (required)>' /usr/local/bundle/bin/metanorma:25:in load' /usr/local/bundle/bin/metanorma:25:in

' Requires a Node, NodeSet or String argument, and cannot accept a NilClass. (You probably want to select a node from the Document with at() or search(), or create a new Node via Node.new().)

jerstlouis commented 4 months ago

@gbuehler Maybe it's time to reach out to @opoudjis for assistance?

Is this a change in terms of what is fatal in different versions?

I believe .gem/ruby/3.0.0/gems/metanorma-1.7.3 is what I'm using.

This is the output on my end (local Linux machine, using the gem directly, not a docker):

metanorma 21-038.adoc 
[relaton] Identification of Common Molecular Subsequences does not have a recognised prefix
[relaton] ZIB Structure Prediction Pipeline does not have a recognised prefix
[relaton] The Grid does not have a recognised prefix
[relaton] Grid Information Services for Distributed Resource Sharing does not have a recognised prefix
[relaton] The Physiology of the Grid does not have a recognised prefix
[relaton] NCBI does not have a recognised prefix
[relaton-ogc] ("OGC 12-019") fetching...
[relaton-ogc] ("OGC 14-005r3") fetching...
[relaton] (OGC 15-097) not found.
[relaton-ogc] ("OGC 06-121r9") fetching...
[relaton-iso] ("ISO 19115-3") fetching...
[relaton-ogc] ("OGC 06-121r9") found 06-121r9
[relaton-ogc] ("OGC 12-019") found 12-019
[relaton-ogc] ("OGC 14-005r3") found 14-005r3
[relaton] ERROR: ISO 19115-3 -- undefined method `text' for nil:NilClass
[relaton] Identification of Common Molecular Subsequences does not have a recognised prefix
[relaton] ZIB Structure Prediction Pipeline does not have a recognised prefix
[relaton] The Grid does not have a recognised prefix
[relaton] Grid Information Services for Distributed Resource Sharing does not have a recognised prefix
[relaton] The Physiology of the Grid does not have a recognised prefix
[relaton] NCBI does not have a recognised prefix
[relaton] OGCTB12 does not have a recognised prefix
[relaton] OGC06-121r9 does not have a recognised prefix
[relaton] OGCTB12 does not have a recognised prefix
[relaton] OGC06-121r9 does not have a recognised prefix
Anchors: (XML Line 002133): normalised identifier in <xref target="ISO_IEC_15948_standard"/> from ISO/IEC 15948 standard
Anchors: (XML Line 000123): Crossreference target rc_zone-fgson is undefined
Anchors: (XML Line 000127): Crossreference target rc_operation-ids is undefined
Anchors: (XML Line 000193): Crossreference target rc_operation-ids is undefined
Anchors: (XML Line 001546): Crossreference target rfc8259 is undefined
Anchors: (XML Line 001727): Crossreference target TIFF_V6 is undefined
Anchors: (XML Line 001795): Crossreference target rfc7946 is undefined
Anchors: (XML Line 001867): Crossreference target FG-JSON is undefined
Anchors: (XML Line 001941): Crossreference target OGC10-090r3 is undefined
Anchors: (XML Line 002002): Crossreference target CoverageJSON is undefined
Anchors: (XML Line 002065): Crossreference target JPEG_XL1 is undefined
Anchors: (XML Line 002068): Crossreference target JPEG_XL2 is undefined
Anchors: (XML Line 002133): Crossreference target ISO_IEC_15948_standard is undefined
Anchors: (XML Line 002202): Crossreference target rfc8259 is undefined
Anchors: (XML Line 002290): Crossreference target rfc7946 is undefined
Anchors: (XML Line 002323): Crossreference target FG-JSON is undefined
Anchors: (XML Line 002357): Crossreference target TIFF_V6 is undefined
Metanorma XML Style Warning: (XML Line 000056): Hanging paragraph in clause
Metanorma XML Style Warning: (XML Line 000350): Hanging paragraph in clause
Metanorma XML Style Warning: (XML Line 001313): Hanging paragraph in clause
Metanorma XML Style Warning: (XML Line 002369): Hanging paragraph in clause
Metanorma XML Style Warning: (XML Line 000035): Table should have title
Metanorma XML Style Warning: (XML Line 002402): Table should have title
Requirements: (XML Line 000374): Requirement class rc_core has no corresponding Conformance class
Requirements: (XML Line 000374): Requirement class rc_core has no corresponding Requirement
Requirements: (XML Line 000388): Requirement _0db36aa5-4fed-bfc4-331c-a10236e85943 has no corresponding Conformance test
Requirements: (XML Line 000415): Requirement _84856af9-c27d-0d20-b1c6-c64e4d6ac275 has no corresponding Conformance test
Requirements: (XML Line 000460): Requirement _2029281d-d5f1-a7d8-c833-3f497c243009 has no corresponding Conformance test
Requirements: (XML Line 000481): Requirement _ef2f84ed-4400-34a6-a51b-59e14405ae66 has no corresponding Conformance test
Requirements: (XML Line 000513): Requirement _d260d0c9-de25-edca-47e2-d8eb1aac6024 has no corresponding Conformance test
Requirements: (XML Line 000550): Requirement class rc_data-retrieval has no corresponding Conformance class
Requirements: (XML Line 000550): Requirement class rc_data-retrieval has no corresponding Requirement
Requirements: (XML Line 000570): Requirement req_data-retrieval_zone-data has no corresponding Conformance test
Requirements: (XML Line 000616): Requirement class rc_data-subsetting has no corresponding Conformance class
Requirements: (XML Line 000616): Requirement class rc_data-subsetting has no corresponding Requirement
Requirements: (XML Line 000633): Requirement _e3c6464a-e678-5fb6-2258-e269dc8e28c4 has no corresponding Conformance test
Requirements: (XML Line 000685): Requirement _fdc4248a-3d6c-4956-9c6c-c3c3f66d136e has no corresponding Conformance test
Requirements: (XML Line 000755): Requirement class rc_data-custom-depths has no corresponding Conformance class
Requirements: (XML Line 000755): Requirement class rc_data-custom-depths has no corresponding Requirement
Requirements: (XML Line 000772): Requirement _39de0e05-aa8c-1823-c0a4-95a6035d3481 has no corresponding Conformance test
Requirements: (XML Line 000844): Requirement class rc_zone-query has no corresponding Conformance class
Requirements: (XML Line 000844): Requirement class rc_zone-query has no corresponding Requirement
Requirements: (XML Line 000864): Requirement _b9afd025-0387-381c-3ad0-528443710c3c has no corresponding Conformance test
Requirements: (XML Line 000909): Requirement _96d180a3-5114-219c-927a-de230c39d13b has no corresponding Conformance test
Requirements: (XML Line 000936): Requirement _1d1ef031-83a5-4449-dcde-172b560583d4 has no corresponding Conformance test
Requirements: (XML Line 000964): Requirement _0102af87-0022-671e-1a1b-f055e1ef6550 has no corresponding Conformance test
Requirements: (XML Line 000985): Requirement _5475e016-6a77-f4d0-1178-cfeb46f93df8 has no corresponding Conformance test
Requirements: (XML Line 001016): Requirement _c8f194cf-5ed8-c383-b4ce-24dfaa246e08 has no corresponding Conformance test
Requirements: (XML Line 001071): Requirement _833b9bd6-033f-1490-63bd-8d6eb07b6bbc has no corresponding Conformance test
Requirements: (XML Line 001101): Requirement _783305ab-2790-ad33-41f9-836e9224f907 has no corresponding Conformance test
Requirements: (XML Line 001170): Requirement _6f5b5408-b1f1-faff-bb07-a5580a0cf554 has no corresponding Conformance test
Requirements: (XML Line 001200): Requirement _e2a46f54-673d-0afb-6653-3cb728694ccb has no corresponding Conformance test
Requirements: (XML Line 001240): Requirement class rc_root-dggs has no corresponding Conformance class
Requirements: (XML Line 001240): Requirement class rc_root-dggs has no corresponding Requirement
Requirements: (XML Line 001257): Requirement _399a27e9-3344-0da6-82ef-7518bcb51673 has no corresponding Conformance test
Requirements: (XML Line 001278): Requirement class rc_collection-dggs has no corresponding Conformance class
Requirements: (XML Line 001278): Requirement class rc_collection-dggs has no corresponding Requirement
Requirements: (XML Line 001295): Requirement _223ee3dd-b0db-17c2-2d4f-ace662f1cb11 has no corresponding Conformance test
Requirements: (XML Line 001537): Requirement class https://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/data-json has no corresponding Conformance class
Requirements: (XML Line 001537): Requirement class https://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/data-json has no corresponding Requirement
Requirements: (XML Line 001554): Requirement /req/data-json/content has no corresponding Conformance test
Requirements: (XML Line 001665): Requirement class https://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/data-ubjson has no corresponding Conformance class
Requirements: (XML Line 001665): Requirement class https://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/data-ubjson has no corresponding Requirement
Requirements: (XML Line 001682): Requirement /req/data-ubjson/content has no corresponding Conformance test
Requirements: (XML Line 001718): Requirement class https://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/data-geotiff has no corresponding Conformance class
Requirements: (XML Line 001718): Requirement class https://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/data-geotiff has no corresponding Requirement
Requirements: (XML Line 001735): Requirement /req/data-geotiff/content has no corresponding Conformance test
Requirements: (XML Line 001756): Requirement /rec/data-geotiff/null-values has no corresponding Conformance test
Requirements: (XML Line 001765): Requirement /rec/data-geotiff/crs has no corresponding Conformance test
Requirements: (XML Line 001786): Requirement class https://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/data-geojson has no corresponding Conformance class
Requirements: (XML Line 001786): Requirement class https://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/data-geojson has no corresponding Requirement
Requirements: (XML Line 001803): Requirement /req/data-geojson/content has no corresponding Conformance test
Requirements: (XML Line 001818): Requirement /rec/data-geojson/clipping has no corresponding Conformance test
Requirements: (XML Line 001827): Requirement /rec/data-geojson/generalization has no corresponding Conformance test
Requirements: (XML Line 001836): Requirement /rec/data-geojson/omission has no corresponding Conformance test
Requirements: (XML Line 001858): Requirement class https://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/data-fgjson has no corresponding Conformance class
Requirements: (XML Line 001858): Requirement class https://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/data-fgjson has no corresponding Requirement
Requirements: (XML Line 001875): Requirement /req/data-fgjson/content has no corresponding Conformance test
Requirements: (XML Line 001887): Requirement /rec/data-fgjson/clipping has no corresponding Conformance test
Requirements: (XML Line 001896): Requirement /rec/data-fgjson/generalization has no corresponding Conformance test
Requirements: (XML Line 001905): Requirement /rec/data-fgjson/omission has no corresponding Conformance test
Requirements: (XML Line 001915): Requirement /rec/data-fgjson/crs has no corresponding Conformance test
Requirements: (XML Line 001932): Requirement class https://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/data-netcdf has no corresponding Conformance class
Requirements: (XML Line 001932): Requirement class https://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/data-netcdf has no corresponding Requirement
Requirements: (XML Line 001949): Requirement /req/data-netcdf/content has no corresponding Conformance test
Requirements: (XML Line 001967): Requirement /rec/data-netcdf/null-values has no corresponding Conformance test
Requirements: (XML Line 001976): Requirement /rec/data-netcdf/crs has no corresponding Conformance test
Requirements: (XML Line 001993): Requirement class https://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/data-coveragejson has no corresponding Conformance class
Requirements: (XML Line 001993): Requirement class https://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/data-coveragejson has no corresponding Requirement
Requirements: (XML Line 002010): Requirement /req/data-coveragejson/content has no corresponding Conformance test
Requirements: (XML Line 002028): Requirement /rec/data-coveragejson/null-values has no corresponding Conformance test
Requirements: (XML Line 002037): Requirement /rec/data-coveragejson/crs has no corresponding Conformance test
Requirements: (XML Line 002056): Requirement class https://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/data-jpegxl has no corresponding Conformance class
Requirements: (XML Line 002056): Requirement class https://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/data-jpegxl has no corresponding Requirement
Requirements: (XML Line 002076): Requirement /req/data-jpegxl/content has no corresponding Conformance test
Requirements: (XML Line 002094): Requirement /rec/data-jpegxl/null-values has no corresponding Conformance test
Requirements: (XML Line 002103): Requirement /rec/data-jpegxl/crs has no corresponding Conformance test
Requirements: (XML Line 002124): Requirement class https://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/data-png has no corresponding Conformance class
Requirements: (XML Line 002124): Requirement class https://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/data-png has no corresponding Requirement
Requirements: (XML Line 002141): Requirement /req/data-png/content has no corresponding Conformance test
Requirements: (XML Line 002159): Requirement /rec/data-png/null-values has no corresponding Conformance test
Requirements: (XML Line 002168): Requirement /rec/data-png/crs has no corresponding Conformance test
Requirements: (XML Line 002193): Requirement class http://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/zone-json has no corresponding Conformance class
Requirements: (XML Line 002193): Requirement class http://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/zone-json has no corresponding Requirement
Requirements: (XML Line 002222): Requirement class https://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/zone-html has no corresponding Conformance class
Requirements: (XML Line 002222): Requirement class https://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/zone-html has no corresponding Requirement
Requirements: (XML Line 002251): Requirement class http://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/zone-uint64 has no corresponding Conformance class
Requirements: (XML Line 002251): Requirement class http://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/zone-uint64 has no corresponding Requirement
Requirements: (XML Line 002281): Requirement class http://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/zone-geojson has no corresponding Conformance class
Requirements: (XML Line 002281): Requirement class http://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/zone-geojson has no corresponding Requirement
Requirements: (XML Line 002314): Requirement class http://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/zone-fgjson has no corresponding Conformance class
Requirements: (XML Line 002314): Requirement class http://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/zone-fgjson has no corresponding Requirement
Requirements: (XML Line 002348): Requirement class http://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/zone-geotiff has no corresponding Conformance class
Requirements: (XML Line 002348): Requirement class http://www.opengis.net/spec/ogcapi-dggs-1/1.0/req/zone-geotiff has no corresponding Requirement
Metanorma XML Syntax: (XML Line 000160:104): element "clause" not allowed here; expected the element end-tag or element "submitters"
Metanorma XML Syntax: (XML Line 000195:78): element "clause" not allowed here; expected the element end-tag or element "admonition", "bookmark", "dl", "example", "figure", "form", "formula", "hr", "imagemap", "note", "ol", "p", "pagebreak", "passthrough", "permission", "pre", "quote", "recommendation", "requirement", "review", "sourcecode", "svgmap", "table", "toc" or "ul"
Metanorma XML Syntax: (XML Line 000206:76): element "clause" not allowed here; expected the element end-tag or element "admonition", "bookmark", "dl", "example", "figure", "form", "formula", "hr", "imagemap", "note", "ol", "p", "pagebreak", "passthrough", "permission", "pre", "quote", "recommendation", "requirement", "review", "sourcecode", "svgmap", "table", "toc" or "ul"
Metanorma XML Syntax: (XML Line 000215:79): element "clause" not allowed here; expected the element end-tag or element "admonition", "bookmark", "dl", "example", "figure", "form", "formula", "hr", "imagemap", "note", "ol", "p", "pagebreak", "passthrough", "permission", "pre", "quote", "recommendation", "requirement", "review", "sourcecode", "svgmap", "table", "toc" or "ul"
Metanorma XML Syntax: (XML Line 000224:93): element "clause" not allowed here; expected the element end-tag or element "admonition", "bookmark", "dl", "example", "figure", "form", "formula", "hr", "imagemap", "note", "ol", "p", "pagebreak", "passthrough", "permission", "pre", "quote", "recommendation", "requirement", "review", "sourcecode", "svgmap", "table", "toc" or "ul"
Metanorma XML Syntax: (XML Line 000271:66): element "clause" not allowed here; expected the element end-tag or element "admonition", "bookmark", "dl", "example", "figure", "form", "formula", "hr", "imagemap", "note", "ol", "p", "pagebreak", "passthrough", "permission", "pre", "quote", "recommendation", "requirement", "review", "sourcecode", "svgmap", "table", "toc" or "ul"
Metanorma XML Syntax: (XML Line 000376:189): element "link" not allowed here; expected the element end-tag or text
Metanorma XML Syntax: (XML Line 000467:284): element "link" not allowed here; expected the element end-tag or text
Metanorma XML Syntax: (XML Line 000505:294): element "link" not allowed here; expected the element end-tag or text
Metanorma XML Syntax: (XML Line 000601:300): element "link" not allowed here; expected the element end-tag or text
Metanorma XML Syntax: (XML Line 000666:274): element "link" not allowed here; expected the element end-tag or text
Metanorma XML Syntax: (XML Line 000901:274): element "link" not allowed here; expected the element end-tag or text
Metanorma XML Syntax: (XML Line 000923:293): element "link" not allowed here; expected the element end-tag or text
Metanorma XML Syntax: (XML Line 001733:221): element "docidentifier" not allowed yet; missing required element "title"
Metanorma XML Syntax: (XML Line 001734:364): element "docidentifier" not allowed yet; missing required element "title"
Metanorma XML Syntax: (XML Line 001735:229): element "docidentifier" not allowed yet; missing required element "title"
Metanorma XML Syntax: (XML Line 001736:353): element "docidentifier" not allowed yet; missing required element "title"
Metanorma XML Syntax: (XML Line 001737:300): element "docidentifier" not allowed yet; missing required element "title"
Metanorma XML Syntax: (XML Line 001738:161): element "docidentifier" not allowed yet; missing required element "title"
Metanorma XML Syntax: (XML Line 001806:185): element "docidentifier" not allowed yet; missing required element "title"
Metanorma XML Syntax: (XML Line 001853:18): element "docidentifier" not allowed yet; missing required element "title"
Metanorma XML Syntax: (XML Line 001857:18): element "docidentifier" not allowed yet; missing required element "title"
No label has been processed for ID TIFF_V6
No label has been processed for ID FG-JSON
No label has been processed for ID CoverageJSON
No label has been processed for ID JPEG_XL1
No label has been processed for ID JPEG_XL2
No label has been processed for ID ISO_IEC_15948_standard
java -Xss10m -Xmx3g -Djava.awt.headless=true -Duser.home=/home/jerome -jar /home/jerome/.gem/ruby/3.0.0/gems/mn2pdf-1.87.1/lib/../bin/mn2pdf.jar --xml-file "/home/jerome/specs/ogcapi-discrete-global-grid-systems/core/21-038.presentation.xml" --xsl-file "/home/jerome/.gem/ruby/3.0.0/gems/metanorma-ogc-2.2.3/lib/isodoc/ogc/ogc.standard.xsl" --pdf-file "/home/jerome/specs/ogcapi-discrete-global-grid-systems/core/21-038.pdf" --syntax-highlight  --font-manifest "/tmp/fontist_locations20240430-27398-42tsnu.yml"

I get some errors and a .pfd.err., but I also get a working PDF.

21-038.pdf.err.txt

21-038.pdf

gbuehler commented 3 months ago

@jerstlouis

I am not able to get the document to build past clause_13_encodings.adoc

For example, in requirements_class_zone_list_geotiff.adoc, there is a link: inherit:: <<TIFF_V6>>

I believe the build fails because there is no anchor for it.

If I remove the above line <>, it does build.

Here are all the includes that have such undefined anchors and if commented out, allow the build to work:

include::../requirements/requirements_class_zone_data_geotiff.adoc[]
include::../requirements/requirements_class_zone_data_fgjson.adoc[]
include::../requirements/requirements_class_zone_data_coveragejson.adoc[]
include::../requirements/requirements_class_zone_data_jpegxl.adoc[]
include::../requirements/requirements_class_zone_data_png.adoc[]
include::../requirements/requirements_class_zone_list_fgjson.adoc[]
include::../requirements/requirements_class_zone_list_geotiff.adoc[]
jerstlouis commented 3 months ago

Thanks for clarifying this @gbuehler . I'll fix these.

Do you think it's because of different versions of metanorma have different behavior in terms of which errors are fatal or not, that it did build on my end? ( and even sometimes on the auto-generated system? )

ghobona commented 3 months ago

@jerstlouis My guess is that the anchor <<TIFF_V6>> was copied from OGC API - Tiles - Part 1: Core.

If that is the case, then all you need to do is to copy and paste the TIFF reference from https://raw.githubusercontent.com/opengeospatial/ogcapi-tiles/master/core/standard/clause_3_references.adoc

ghobona commented 3 months ago

TIP: metanorma maintainers recommend to always place a blank line between successive include:: statements.

jerstlouis commented 3 months ago

Thanks @ghobona .

My guess is that the anchor <> was copied from OGC API - Tiles - Part 1: Core.

We just didn't set up those anchors yet. I would not expect this to be a fatal error that completely prevents generating the document (and it was not a fatal error when running metanorma locally).

TIP: metanorma maintainers recommend to always place a blank line between successive include:: statements.

I always follow that recommendation! :) Much better than relying on extra lines in the included files.

jerstlouis commented 3 months ago

@gbuehler

This commit:

https://github.com/opengeospatial/ogcapi-discrete-global-grid-systems/commit/d24661d64e53095bfaebf20350816660601cc424

should address those remaining issues.