[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

Status: Closed
Project: Spring Web Services
Component/s: Core
Affects Version/s: 1.5.1
Fix Version/s: 1.5.2

Type: Bug Priority: Major
Reporter: Oliver Drotbohm Assignee: Arjen Poutsma
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


Attachments: Text File CommonsXsdSchemaCollection.java    


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 Drotbohm [ 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 Drotbohm [ 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

Generated at Tue Oct 23 19:57:07 UTC 2018 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.