lib/metanorma/ogc/front.rb in metanorma-ogc-2.5.4 vs lib/metanorma/ogc/front.rb in metanorma-ogc-2.5.5
- old
+ new
@@ -124,10 +124,10 @@
e = externalid(node) and xml.docidentifier e, type: "ogc-external"
node.attr("referenceurlid") and
xml.docidentifier externalurl(node), type: "ogc-external"
docnumber = node.attr("docnumber") || node.attr("docreference")
id = node.attr("docidentifier") || docnumber
- xml.docidentifier id, type: "ogc-internal"
+ xml.docidentifier id, type: "ogc-internal", primary: "true"
end
def externalurl(node)
if doctype(node) == "engineering-report"
"http://www.opengis.net/doc/PER/t14-#{node.attr('referenceurlid')}"