Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/pmdPublic

Make <rule> element optional in ruleset_2_0_0.xsd#5266

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
hassanalami wants to merge1 commit intopmd:main
base:main
Choose a base branch
Loading
fromhassanalami:update-ruleset-xsd

Conversation

hassanalami
Copy link

This PR updates theruleset_2_0_0.xsd schema to make the<rule> element optional. The current schema requires at least one<rule> element, but several existing ruleset files do not have this element. This change setsminOccurs="0" for the<rule> element to avoid validation errors on these files.

Related issues

Ready?

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build./mvnw clean verify passes (checked automatically by github actions)
  • Added (in-code) documentation (if needed)

@ghost
Copy link

1 Message
📖Compared to main:
This changeset changes 0 violations,
introduces 0 new violations, 0 new errors and 0 new configuration errors,
removes 0 violations, 0 errors and 0 configuration errors.
Download full report as build artifact

Generated by 🚫Danger

Copy link
Member

@adangeladangel left a comment

Choose a reason for hiding this comment

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

See my comment here:#5265 (comment)

We should better do a cleanup then maintain empty/useless rulesets.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@adangeladangeladangel requested changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

XSD schema: Make<rule> element optional inruleset_2_0_0.xsd
2 participants
@hassanalami@adangel

[8]ページ先頭

©2009-2025 Movatter.jp