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

Spring Security 5.7 xsd is not published to https://www.springframework.org/schema/security/ #11353

Closed
elishaebenezer opened this issue Jun 8, 2022 · 6 comments
Assignees
Labels
in: docs An issue in Documentation or samples type: task A general task

Comments

@elishaebenezer
Copy link

Summary

spring-security-5.7.xsd should be published under https://www.springframework.org/schema/security/

Actual Behavior

spring-security-5.7.xsd is not available under https://www.springframework.org/schema/security/ causing XML schema validation failures in IDEs

Expected Behavior

spring-security-5.7.xsd should be available under https://www.springframework.org/schema/security/ to enable successful XML schema validation in IDEs

Version

Spring Security 5.7.1

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jun 8, 2022
@sjohnr sjohnr self-assigned this Jun 8, 2022
@sjohnr sjohnr added in: docs An issue in Documentation or samples type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged labels Jun 8, 2022
@sjohnr
Copy link
Member

sjohnr commented Jun 8, 2022

Thanks for the report @elishaebenezer! We will look into this.

@sjohnr
Copy link
Member

sjohnr commented Jun 8, 2022

Note: Per recommendation from @trevormarshall, we can replace the htdocs/schema/security directory (which serves https://www.springframework.org/schema/security/) with a softlink to /opt/www/domains/spring.io/docs/htdocs/autorepo/schema/spring-security/current. This will allow the current process of uploading the schema files (along with our docs) to the autorepo directory to automatically publish the latest schema.

cc: @jzheaux

@cgraefe
Copy link

cgraefe commented Jun 9, 2022

We've had issues this morning due to a missing schema at https://www.springframework.org/schema/security/spring-security-oauth2.xsd which was available, previously. Could this be caused by by the softlink quick-fix mentioned above? Should this be intentional, what would be the correct new location for the spring-security-oauth2.xsd?

@Kdecherf
Copy link

Kdecherf commented Jun 9, 2022

@cgraefe see #11357

@sjohnr
Copy link
Member

sjohnr commented Jun 9, 2022

@cgraefe I haven't performed this task yet, so they are unrelated in this case.

@sjohnr
Copy link
Member

sjohnr commented Jun 10, 2022

@elishaebenezer this is now resolved.

Note: I've opened a related issue for maintaining the latest schema file as gh-11365.

@sjohnr sjohnr closed this as completed Jun 10, 2022
sjohnr added a commit to sjohnr/spring-security that referenced this issue Jul 7, 2022
sjohnr added a commit that referenced this issue Jul 7, 2022
sjohnr added a commit that referenced this issue Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: docs An issue in Documentation or samples type: task A general task
Projects
None yet
Development

No branches or pull requests

5 participants