Skip to content

Conversation

XenoAmess
Copy link

@XenoAmess XenoAmess commented Jan 22, 2025

follows discussions in #482

@gnodet please have a look

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds an <xs:anyAttribute processContents="skip"/> element to the DOM type's complexType in XSD generation. This change allows for additional attributes to be present in XML elements without validation, providing more flexibility in XML schema validation.

  • Added xs:anyAttribute element with processContents="skip" to the properties element generation
  • Created a new test case for XSD generation with Maven2 model

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
XsdGenerator.java Adds the anyAttribute element to DOM complexType generation
XsdGeneratorMaven2Test.java New test class to verify XSD generation functionality

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

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.

1 participant