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

Wrong YAML file #44

Open
andrew2net opened this issue Jan 4, 2025 · 3 comments
Open

Wrong YAML file #44

andrew2net opened this issue Jan 4, 2025 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@andrew2net
Copy link
Collaborator

Relaton uses the index.yaml as a source dataset. The file has yaml extension and was in YAML format. It still has yaml extension but its content is not YAML anymore. It contains XML now:

<relaton-collection xmlns="https://open.ribose.com/relaton-xml"><title>CalConnect Document Registry</title><contributor><role type='author'/><organization><name>CalConnect</name></organization></contributor><relation type='partOf'><bibdata type="standard">
  <fetched>2024-12-18</fetched>
  <title type="title-main" format="text/plain" language="en" script="Latn">July 2004 CalConnect Interoperability Test Rules and Test Scenarios V1.0 (CD 0401)</title>
  <title type="main" format="text/plain" language="en" script="Latn">July 2004 CalConnect Interoperability Test Rules and Test Scenarios V1.0 (CD 0401)</title>
  <uri type="pdf">pubdocs/CD0401%20July%202004%20CalConnect%20Interoperability%20Test%20Rules%20and%20Test%20Scenarios%20V1.0.pdf</uri>
  <docidentifier type="CC">CC/Adm 0401:2004</docidentifier>
  <version>
    <revision-date>2004-07-30</revision-date>
  </version>
  <ext>
    <doctype>administrative</doctype>
    <editorialgroup>
      <technical-committee>IOPTEST</technical-committee>
    </editorialgroup>
  </ext>
</bibdata></relation>
...

We need to get back prior content for the file.

@ronaldtse
Copy link
Contributor

@andrew2net I believe the generation of the YAML file was by Relaton. It should be extremely easy to make it work with lutaml-model now.

@ronaldtse
Copy link
Contributor

ronaldtse commented Jan 5, 2025

@andrew2net
Copy link
Collaborator Author

@ronaldtse the relaton xml2yaml command produces YAML content. Why do we have XML content?

@andrew2net I believe the generation of the YAML file was by Relaton. It should be extremely easy to make it work with lutaml-model now.

Can we do it later?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants