[
https://issues.apache.org/jira/browse/CXF-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Kulp resolved CXF-2135.
------------------------------
Resolution: Won't Fix
Fix Version/s: Invalid
Marking this invalid. Per JAXB spec, the schemaLocation is required so not
accepting it is OK.
> JAXB binding files with no schemaLocation don't work
> ----------------------------------------------------
>
> Key: CXF-2135
> URL: https://issues.apache.org/jira/browse/CXF-2135
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Reporter: Benson Margulies
> Fix For: Invalid
>
>
> In order to clean up other code and prevent other bugs, I am breaking the
> code that allows JAXB binding files with no schemaLocation attribute to work.
> In 2.2 and earlier, this worked because we fed all the schemas to JAXB under
> the same key. This is contrary to the doc and likely to cause other more
> confusing problems, such as mis-applied customizations.
> The correct solution seems to be to just leave off the schemaLocation, but as
> of JAXB 2.1.10, that doesn't work, since JAXB doesn't handle this case for
> outboard customization files. Heck, perhaps recycling outboard customization
> files with JAXB is just not a good idea, period.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.