How it works Now:
To directly use the configuration-1-3.xsd created for #7517, the only available URL is:
https://raw.githubusercontent.com/checkstyle/checkstyle/refs/heads/master/config/configuration-1-3.xsd
Is your feature request related to a problem? Please describe.
Including the XSD using the aforementioned link gives us:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://raw.githubusercontent.com/checkstyle/checkstyle/refs/heads/master/config/configuration-1-3.xsd"
Using the GH Raw URL is problematic, for several reasons. For one, if the location within the repo changes, things break. Using the githubusercontent.com can confuse users. Besides this, it is also "ugly", i.e. lowers Developer Experience (DX).
Describe the solution you'd like
It would be awesome if the XSD was hosted on http://checkstyle.org/, similar to how the DTDs are hosted under https://checkstyle.org/dtds/.
Consider:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://checkstyle.org/xsds/configuration-1-3.xsd"
Additional context
Issue creation requested by @romani in #7517:
@Potherca, please create new issue to deploy this xsd to website
How it works Now:
To directly use the
configuration-1-3.xsdcreated for #7517, the only available URL is:https://raw.githubusercontent.com/checkstyle/checkstyle/refs/heads/master/config/configuration-1-3.xsd
Is your feature request related to a problem? Please describe.
Including the XSD using the aforementioned link gives us:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://raw.githubusercontent.com/checkstyle/checkstyle/refs/heads/master/config/configuration-1-3.xsd"Using the GH Raw URL is problematic, for several reasons. For one, if the location within the repo changes, things break. Using the
githubusercontent.comcan confuse users. Besides this, it is also "ugly", i.e. lowers Developer Experience (DX).Describe the solution you'd like
It would be awesome if the XSD was hosted on http://checkstyle.org/, similar to how the DTDs are hosted under https://checkstyle.org/dtds/.
Consider:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://checkstyle.org/xsds/configuration-1-3.xsd"Additional context
Issue creation requested by @romani in #7517: