Closed ronaldtse closed 4 years ago
@ronaldtse I think it isn't relaton-iso issue. I've tried to run:
metanorma -x xml sources/amendment/rice-amd.awi.adoc
the sources/amendment/rice-amd.awi.adoc
contains:
= ISO 17301-1 Amd
:docnumber: 17301
:comment: tc-document-number only appears on drafts
:tc-document-number:
:edition: 2
:created-date: 2016-05-01
:updates: ISO 17301-1:2016
:amendment-number: 1
:copyright-year: 2017
...
from the content the metanorma generates:
...
<docidentifier type="iso">ISO/NWIP 17301-1:2016/Amd.1</docidentifier>
<docidentifier type="iso-with-lang">ISO/NWIP 17301-1:2016/Amd.1(E)</docidentifier>
<docidentifier type="iso-reference">ISO/NWIP 17301-1:2016/Amd.1:2017(E)</docidentifier>
...
Concerning stages, it seems you need to use the last relaton-cli. I get:
Please also check: metanorma/metanorma-iso#384 metanorma/metanorma-iso#385
@ronaldtse I don't understand what's the problem.
from the content the metanorma generates:
... <docidentifier type="iso">ISO/NWIP 17301-1:2016/Amd.1</docidentifier> <docidentifier type="iso-with-lang">ISO/NWIP 17301-1:2016/Amd.1(E)</docidentifier> <docidentifier type="iso-reference">ISO/NWIP 17301-1:2016/Amd.1:2017(E)</docidentifier> ...
Have only just implemented requested fixes.
See https://github.com/metanorma/metanorma-iso/issues/383