-
Jul 14th, 2008, 12:13 PM
#1
suggested improvement for findImports in CommonsXsdSchemaCollection, inline=true
Hi,
using org.springframework.xml.xsd.commons.CommonsXsdSche maCollection if you have a group of schemas it is possible that when inline=true that you will get multiple definitions of the same element (which makes your wsdl invalid).
In the findImports method adding
private void findImports(XmlSchema schema, Set processedImports, Set processedIncludes) {
if (!processedImports.contains(schema))
{
// rest of the code as is
}
}
gets round this problem.
Norman
-
Jul 15th, 2008, 06:49 AM
#2
Could you please post more details? Ideally a test case or a scenario. Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules