Skip to content

Improve xsd schema resolving #1796

@stephanr

Description

@stephanr

The current implementation, has a static way of resolving XML schema files that is hardcoded in the class RedirectingEntityResolver.

This construct limits the options to supply schemas locally or to redirect schemas, for example, a referenced schema moves or is not available at the old address.

A possible solution could be to include the resolution from class path like it is done in the spring-framework to allow local schemas.

From the security viewpoint, this would also make sense to be able to completely disable external schema resolving and/or only download schema files once and cache them unmodified.
This would also remove the extra step in downloading and modifying of schema files, like the tool https://github.com/mfalaize/schema-fetcher does.

Metadata

Metadata

Assignees

No one assigned

    Labels

    TMC discussionto be discussed by technical management committee memberscontributions welcomeasking for contribution (time and money sponsor)coredeegree core modules

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions