Closed Intelligent2013 closed 1 year ago
@Intelligent2013
Please look very closely at:
groups:
- scopes:
- title: Establishment process
name: Requirements of the establishment process.
identifier: /req/establishment-process
then, look very closely at:
- scopes:
- title: Ddecommission process
name: Requirements of the decommission process.
identifier: /req/establishment-process
What do you notice about the unique identifier attributes of these two completely distinct classes?
:-)
Yes, if the identifiers are identical, bad things will indeed happen, and have. I'll add a validation step to abort execution if this happens: it can't be allowed to.
@opoudjis thanks, sorry, I didn't notice the identical ids...
The validation will be a major version of mn-requirements.
Source issue: https://github.com/metanorma/metanorma-iso/issues/855
Source document: https://github.com/metanorma/iso-19135/tree/main/sources/iso-19135-2021
I update mnconvert for requirements conversion from semantic Metanorma XML to NISO STS XML tables, and found a difference between data in my resulted XML and Metanorma presentation XML.
From
sections\data\11-governance-establish-rc.yaml
-Requirements of the establishment process
'contains'Consider scope
:Metanorma semantic XML (
bundle exec metanorma -t iso -x xml document.adoc
) looks correct:But Metanorma presentation XML (
bundle exec metanorma -t iso -x presentation document.adoc
) contains:<xref target="rc-governance-establish-1">Requirements class 36: Requirements of the decommission process.</xref>
(see lastxref
in XML fragment below), with correcttarget
to thetable
withid="rc-governance-establish-1
, and the textRequirements class 36: Requirements of the decommission process.
instead ofRequirements class 31: Requirements of the establishment process.
If we look at
Requirements of the decommission
insections\data\11-governance-decommission-rc.yaml
, we don't seeConsider scope
there:Is it a bug? Or did I understand the requirement's format wrong?