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

MaxOccurances not correclty updated when generating schema.json from x12 xsd file using EDI tool #6658

Closed
GevinHasmitha opened this issue Jun 25, 2024 · 1 comment · Fixed by ballerina-platform/edi-tools#51
Assignees
Labels
module/edi-tools Issues related to Ballerina EDI CLI tool Type/Bug

Comments

@GevinHasmitha
Copy link

Description:
When converting a X12 xsd file to a schema.json using the EDI tool, the maxOccurances present in the xsd are not correctly reflected in the schema.json, all the maxOccurances are set to 1.

Eg; Below xsd snippet shows the maxOccurance being 10.
image

But the schema generated shows the maxOccurance as follows.

image

xsd file:
278-A1.zip

Generated schema
schema.json

Copy link

github-actions bot commented Jul 5, 2024

This issue is NOT closed with a proper Reason/ label. Make sure to add proper reason label before closing. Please add or leave a comment with the proper reason label now.

      - Reason/EngineeringMistake - The issue occurred due to a mistake made in the past.
      - Reason/Regression - The issue has introduced a regression.
      - Reason/MultipleComponentInteraction - Issue occured due to interactions in multiple components.
      - Reason/Complex - Issue occurred due to complex scenario.
      - Reason/Invalid - Issue is invalid.
      - Reason/Other - None of the above cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/edi-tools Issues related to Ballerina EDI CLI tool Type/Bug
Projects
Archived in project
2 participants