You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Michal Láska (Updated JIRA)" <xm...@xml.apache.org> on 2012/02/09 10:55:00 UTC
[jira] [Updated] (XMLBEANS-479) XmlException occurs when call
XmlBeans.compileXsd method on List of XmlObject of WSDL file where some
XmlObject contains XS:INCLUDE
[ https://issues.apache.org/jira/browse/XMLBEANS-479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michal Láska updated XMLBEANS-479:
----------------------------------
Attachment: IncludeBug.zip
> 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-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org