-
Notifications
You must be signed in to change notification settings - Fork 33
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
Support XML-based input files #202
Labels
CR:Status:Closed
Admin only: Change request that has been completed
CR:Type:Feature
Admin only: Change request pertaining to new features requested
Milestone
Comments
Change Manager: Confirmed that the issue exists. |
Technical Lead: Confirmed that the issue should be addressed. |
Technical Lead: Issue scheduled for fixing in Ogma 1.6.0. Fix assigned to: @ivanperez-keera . |
ivanperez-keera
added a commit
to ivanperez-keera/ogma
that referenced
this issue
Jan 19, 2025
…a#202. There is a need in Ogma to support XML-based input files, since this is produced by many standard tools in the industry. Like with JSON, we want users to be able to customize the input format via a command-line flag, so that users can work with XML-based files whose format is previously unknown to Ogma without having to modify the tool. This commit introduces a new library to parse Ogma specifications from XML files. The parsing functions are parameterized by the functions that parse requirement sub-expressions, allowing for further customization, The sub-expression parser may execute an IO-action, enabling the use of external commands and/or LLMs to pre-process expressions. The specification of the XML format is readable, which will also enable parsing a format specification from an input file (either a known file distributed with Ogma or a user-provided input file).
ivanperez-keera
added a commit
to ivanperez-keera/ogma
that referenced
this issue
Jan 19, 2025
…#202. There is a need in Ogma to support XML-based input files, since this is produced by many standard tools in the industry. Like with JSON, we want users to be able to customize the input format via a command-line flag, so that users can work with XML-based files whose format is previously unknown to Ogma without having to modify the tool. A prior commit has introduced a library to parse Ogma specifications from XML files. This commit extends ogma-core to accept input files in XML, and to treat any configuration file with the prefix "xml" as format specification for an XML-based input file.
ivanperez-keera
added a commit
to ivanperez-keera/ogma
that referenced
this issue
Jan 19, 2025
There is a need in Ogma to support XML-based input files, since this is produced by many standard tools in the industry. Like with JSON, we want users to be able to customize the input format via a command-line flag, so that users can work with XML-based files whose format is previously unknown to Ogma without having to modify the tool. A prior commit has introduced the capability to use XML files with ogma-core. This commit adds four XML format specifications based on two standard formats used in known MBSE tools.
ivanperez-keera
added a commit
to ivanperez-keera/ogma
that referenced
this issue
Jan 19, 2025
ivanperez-keera
added a commit
to ivanperez-keera/ogma
that referenced
this issue
Jan 19, 2025
ivanperez-keera
added a commit
to ivanperez-keera/ogma
that referenced
this issue
Jan 19, 2025
…#202. There is a need in Ogma to support XML-based input files, since this is produced by many standard tools in the industry. Like with JSON, we want users to be able to customize the input format via a command-line flag, so that users can work with XML-based files whose format is previously unknown to Ogma without having to modify the tool. A prior commit has introduced a library to parse Ogma specifications from XML files. This commit extends ogma-core to accept input files in XML, and to treat any configuration file containing an XMLFormat specification as format specification for an XML-based input file.
ivanperez-keera
added a commit
to ivanperez-keera/ogma
that referenced
this issue
Jan 19, 2025
There is a need in Ogma to support XML-based input files, since this is produced by many standard tools in the industry. Like with JSON, we want users to be able to customize the input format via a command-line flag, so that users can work with XML-based files whose format is previously unknown to Ogma without having to modify the tool. A prior commit has introduced the capability to use XML files with ogma-core. This commit adds four XML format specifications based on two standard formats used in known MBSE tools.
ivanperez-keera
added a commit
to ivanperez-keera/ogma
that referenced
this issue
Jan 19, 2025
ivanperez-keera
added a commit
to ivanperez-keera/ogma
that referenced
this issue
Jan 19, 2025
Implementor: Solution implemented, review requested. |
ivanperez-keera
added a commit
to ivanperez-keera/ogma
that referenced
this issue
Jan 19, 2025
Change Manager: Verified that:
|
Change Manager: Implementation ready to be merged. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
CR:Status:Closed
Admin only: Change request that has been completed
CR:Type:Feature
Admin only: Change request pertaining to new features requested
Description
There is a need in Ogma to support XML-based input files, since this is produced by many standard tools in the industry. Like with JSON, we want users to be able to customize the input format via a command-line flag, so that users can work with XML-based files whose format is previously unknown to Ogma without having to modify the tool.
Type
Additional context
None.
Requester
Method to check presence of bug
Not applicable (not a bug).
Expected result
Ogma is able to process and extract data from an input file in XML, obtaining information from a configuration file provided by the user.
Desired result
Ogma is able to process and extract data from an input file in XML, obtaining information from a configuration file provided by the user.
Proposed solution
Introduce a parsing library for XML files, and use it in
ogma-core
to parse input files when the user specifies that the format is XML-based.Further notes
None.
The text was updated successfully, but these errors were encountered: