Closed opoudjis closed 2 years ago
This is waiting on https://github.com/metanorma/mnconvert/issues/195
I need for you to get this working with validation_against: standards.dtd, where standards.dtd is in the folder
"https://github.com/metanorma/ieee-stl/blob/main/standards-1-7-DTD/standards-1-7-dtd/standards.dtd"
For this particular case as far as I understand DTD comes from the private repo. So it doesn't make sense to implement URL validation on mnconvert.jar side
I think we can add CI-only tests (because CI token can download private repos) so we can do DTD validation tests on CI only
@ronaldtse how do you think will it be worth it?
It's not mandatory to test IEEE XML validation, but I'd like for it to happen. Need this resolved for https://github.com/metanorma/metanorma-ieee/issues/132
For this particular case as far as I understand DTD comes from the private repo. So it doesn't make sense to implement URL validation on mnconvert.jar side
I think we can add CI-only tests (because CI token can download private repos) so we can do DTD validation tests on CI only
@ronaldtse how do you think will it be worth it?
@CAMOBAP I agree with this approach of using the private DTD in the GHA jobs.
I have asked IEEE SA whether we can share the DTD publicly, but until they answer positively, we have to use this private GHA approach. Thanks!
IEEE SA has answered that they want to keep the DTD private. So we will have to action the GHA approach. @CAMOBAP @Intelligent2013 can you please help facilitate? Thanks!
@ronaldtse I will work on it
Now DTD validation test ready, but the test fails because of validation issues
@opoudjis @Intelligent2013 what are the next steps?
.../rice-en.cd.isosts.xml is NOT valid reason:
...
.../rice-en.cd.ieee.xml is NOT valid reason:
But in https://github.com/metanorma/mnconvert/actions/runs/3084996936/jobs/4987787985 all checks ended ok.... Let me try to understand this...
The most issues will be fixed in mnconvert v1.24, except one .../rice-en.cd.ieee.xml is NOT valid reason:
, because it generated from ISO MN XML, not IEEE MN XML. And I didn't test mnconvert for IEEE XML generation from arbitrary MN non-IEEE XML.
I'll try to update mnconvert.
@CAMOBAP validation issues fixed.
@Intelligent2013 but we're not supposed to generate IEEE XML from other flavors. Only MN IEEE docs can output IEEE XML. There is clearly some misunderstanding here somewhere?
Anyway the validation passes now, and let's merge it.
But still we should not allow generating IEEE XML from other flavors. It would be a nightmare to support that.
Metanorma PR checklist