[SWS-353] Schema inlining results in duplicate inlining of files referenced from multiple files Created: 08/May/08 Updated: 21/Jul/08 Resolved: 08/May/08
|Project:||Spring Web Services|
|Reporter:||Oliver Gierke||Assignee:||Arjen Poutsma|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
Suppose you have two files foo-response.xsd and bar-response.xsd referenceing a common domain.xsd the Dynamic WSDL creation will cause the domain.xsd to be inlined twice in the WSDL.
This causes trouble to JAX-WS wsimport utility as elements appera twice in the same namespace.
|Comment by Oliver Gierke [ 08/May/08 ]|
Added patched version of CommonsXsdSchemaCollection that does not include or import external XSDs twice.
|Comment by Arjen Poutsma [ 08/May/08 ]|
Fixed, thanks for the patch!
|Comment by Arjen Poutsma [ 10/May/08 ]|
One more thing, Oliver. Since you stripped the Apache preamble from the patch, I have to ask you explicitly:
Do you agree to share the attached patch under the terms of the Apache License, version 2?
|Comment by Oliver Gierke [ 10/May/08 ]|
Excuse me, Arjen. Of course I do. I tried to fix the issue by subclassing at first for the project i needed the functionality for but ended up copyng the entire class as extending it didn't work as well as expected. By copying the entire code I seem to have missed the license declaration.
|Comment by Arjen Poutsma [ 21/Jul/08 ]|
Closing issues in 1.5.2