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

Lutaml-Model integration for YAML and XML processing #27

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

suleman-uzair
Copy link
Member

@suleman-uzair suleman-uzair commented Jan 20, 2025

This PR integrates Unitsdb-Ruby for Unitsdb content processing.
Additionally, it supports processing of XML and MathML using Lutaml-Model classes.

closes #21

@suleman-uzair suleman-uzair marked this pull request as draft January 20, 2025 15:46
@suleman-uzair suleman-uzair changed the title [WIP] Unitsdb-Ruby integration for YAML processing [WIP] Lutaml-Model integration for YAML and XML processing Jan 22, 2025
require "unitsml/xml/dimension_quantities/plane_angle"

module Unitsml
module Xml

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need a namespace Xml? The point of lutaml-model is to simplify this into a class that is format-agnostic, so we can also have a "UnitsML version in YAML".

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ronaldtse, you are right, I’ll update this to model.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

added dependent-gems workflow
@suleman-uzair suleman-uzair force-pushed the feature/unitsdb_ruby_integration branch from 350c93c to 0942016 Compare January 27, 2025 13:48
@suleman-uzair suleman-uzair changed the title [WIP] Lutaml-Model integration for YAML and XML processing Lutaml-Model integration for YAML and XML processing Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace YAML and XML processing using lutaml-model
2 participants