Skip to content

Issue caused by MSV shading #103

@coheigea

Description

@coheigea

Apache CXF currently uses Woodstox 5.3.0. However, we've run into a problem in looking into upgrading to Woodstox 6.x, due to the MSV shading. We have a MSV BaseSchemaFactory implementation here:

https://github.com/apache/cxf/blob/cff773f4f750b7bdc3f955c1a5b1b5f4a311dd71/core/src/main/java/org/apache/cxf/staxutils/validation/W3CMultiSchemaFactory.java

This won't work with Woodstox 6.x, as the Woodstox W3CSchema class now takes the shaded MSV XMLSchemaGrammar in the constructor. I can change all references to MSV to the shaded version. However then CXF won't work with older versions of Woodstox, which might be a problem in some projects that use both CXF and an older Woodstox version.

Is there a way around this that doesn't involve completely porting W3CSchema and all associated dependencies to CXF to avoid uses the shaded package name?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions