Skip to content

Comments

[WIP] Fix XML/JSON tools to validate generated types#1446

Closed
Copilot wants to merge 1 commit intomainfrom
copilot/fix-xml-json-validation
Closed

[WIP] Fix XML/JSON tools to validate generated types#1446
Copilot wants to merge 1 commit intomainfrom
copilot/fix-xml-json-validation

Conversation

Copy link

Copilot AI commented Oct 13, 2025

Thanks for assigning this issue to me. I'm starting to work on it and will keep this PR's description up to date as I form a plan and make progress.

Original prompt

This section details on the original issue you should resolve

<issue_title>The import XML/JSON tools do not validate the generated types against existing ones</issue_title>
<issue_description>### Description

As a result, the output of the source code is erroneous due to duplicate types.

Screen.Recording.2025-07-25.at.2.25.49.PM.mov

Steps to Reproduce

Import the following json and xml files as done in the above vid.

<library>
  <book>
    <title>Clean Code</title>
    <author>Robert C. Martin</author>
    <year>2008</year>
    <isbn>9780132350884</isbn>
  </book>
  <book>
    <title>The Pragmatic Programmer</title>
    <author>Andrew Hunt</author>
    <year>1999</year>
    <isbn>9780201616224</isbn>
  </book>
</library>
{
    "library": {
        "volume": [
            {
                "title": "Clean Code",
                "details": "Robert C. Martin (2008)",
                "available": true
            },
            {
                "title": "The Pragmatic Programmer",
                "details": "Andrew Hunt (1999)",
                "available": true
            }
        ]
    }
}

Version

1.1.1</issue_description>

Comments on the Issue (you are @copilot in this section)

Fixes #870


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@dulajdilshan
Copy link

Invalid

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.

The import XML/JSON tools do not validate the generated types against existing ones

3 participants