Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Cannot Reproduce
-
Version 2.5
-
None
-
None
-
Windows 7, Java 7
Description
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());
instead of
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