[ https://issues.apache.org/jira/browse/XMLBEANS-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13266386#comment-13266386 ]
Michal Láska commented on XMLBEANS-479: --------------------------------------- to Chris White: The exception was same as yours - 'org.apache.xmlbeans.XmlException: error: Could not load resource "included.xsd" (network downloads disabled).' > XmlException occurs when call XmlBeans.compileXsd method on List of XmlObject > of WSDL file where some XmlObject contains XS:INCLUDE > ----------------------------------------------------------------------------------------------------------------------------------- > > Key: XMLBEANS-479 > URL: https://issues.apache.org/jira/browse/XMLBEANS-479 > Project: XMLBeans > Issue Type: Bug > Components: Compiler > Affects Versions: Version 2.5 > Environment: Windows 7, Java 7 > Reporter: Michal Láska > Attachments: IncludeBug.zip > > > 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 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@xmlbeans.apache.org For additional commands, e-mail: dev-h...@xmlbeans.apache.org