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: 2.2.1
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.