Skip to content

Allow feign-jaxb SAXParserFactory to operate in a namespace-aware manner #456

Description

@raulk

When working with an XML Schema file that uses namespaces (most of them) and generating JAXB entities from it automatically (e.g. Maven plugin), the resulting entities will carry the namespace tags.

Unfortunately, SAXParserFactory ignores namespaces during parsing by default, as documented in https://docs.oracle.com/javase/7/docs/api/javax/xml/parsers/SAXParserFactory.html, making the generated JAXB entities not match.

Ideally there would be a configuration flag / Builder for JAXBDecoder in feign-jaxb to explicitly set the underlying SAXParserFactory.setNamespaceAware property to true if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions