Skip to content

http vs https for downloading schema #11

@eccles

Description

@eccles

Attempting to use xsdvalidate.NewXsdHandlerUrl with the url http://cyclonedx.org/schema/bom/1.3 fails without anydetails. Investigation shows that this is because it is a redirect to a https endpoint.

This issue in xmllint

https://gitlab.gnome.org/GNOME/libxml2/-/issues/160

indicates that libxml2 will never support https and may even stop supporting its own http client.

So this is just a heads up for anyone else who may encounter this.

With the general move from http to https NewXsdHandlerUrl stands less and less chance of actually working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions