Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NISO STS import on ISO Fonto: cross-references in terminology and bibliography entries not working #868

Open
ronaldtse opened this issue Dec 1, 2022 · 4 comments
Assignees
Labels
help wanted sts NISO STS compatibility

Comments

@ronaldtse
Copy link
Contributor

As reported by SIS (sis.se). Have requested for more information.

This is probably due to ISO Fonto implementing terms and bibliographic items not as part of the document but in their own individual databases for linking with existing content.

@ronaldtse ronaldtse added help wanted sts NISO STS compatibility labels Dec 1, 2022
@ronaldtse
Copy link
Contributor Author

From @MatsAhlin:

The cross reference in terms I identified from Metanorma as:
image001

But when I recreated what would been what Fonto expected I got this:
image002

The cross references for the Bibliography I found from in Metanorma to be:
image003

But after import to Fonto it looks like this:
image

And when recreating the cross reference in Fonto I get this:
image

@ronaldtse
Copy link
Contributor Author

@Intelligent2013 not sure if there's something we can do but could you have a look? Thanks.

@Intelligent2013
Copy link
Contributor

Regarding the issue:

The cross reference in terms I identified from Metanorma as:
image001

I've updated mnconvert to generate tbx:entailedTerm instead of named-content for terms within the Terms and definitions clause as noted in '9.3.6 Cross-references between terms in the Terms and definitions clause' in 'IEC/ISO Coding Guidelines':

<tbx:definition><tbx:entailedTerm target="term_3.1.1">entity (3.1.1)</tbx:entailedTerm> with substantial knowledge, experience and competency in the domain</tbx:definition>

But SIS expects the tag xref instead of tbx:entailedTerm:

But when I recreated what would been what Fonto expected I got this:
image002

If we need to update mnconvert for support SIS practice, then I need the full XML SIS example to adapt Metanorma to STS XSLT conversion rules specially for SIS format.

@Intelligent2013
Copy link
Contributor

The cross references for the Bibliography issue fixed. Now it encodes as:

<xref rid="biblref_13" ref-type="bibr">ISO 19115-1:2014</xref>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted sts NISO STS compatibility
Projects
None yet
Development

No branches or pull requests

2 participants