Resolution: Cannot Reproduce
Affects Version/s: Version 2.5
Fix Version/s: None
Environment:Windows 7, Java 7
I have WSDL file which imports XSD files and these XSD files import or include another XSD files etc.
I call XmlBeans.compileXsd method on List of XmlObject of this WSDL file.
If some XmlObject contains XS:INCLUDE then XmlException occurs.
I think that in StscImporter.DownloadTable.resolveImportsAndIncludes(boolean) method should be
Schema included = downloadSchema(includes[i], sourceNamespace, includes[i].getSchemaLocation());
Schema included = downloadSchema(includes[i], null, includes[i].getSchemaLocation());
because if I make this change then it works ok.
See attached IncludeBug.zip file - it's an Eclipse Java Project