[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] [Commented] (XMLBEANS-479) XmlException occurs when call XmlBeans.compileXsd method on List o
From:       Michal_Láska_(JIRA) <xmlbeans-dev () xml ! apache ! org>
Date:       2012-05-02 6:37:00
Message-ID: 1193665255.16193.1335940620709.JavaMail.tomcat () hel ! zones ! apache ! org
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/XMLBEANS-479?page=com.atlassian.jira.plugi \
n.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-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic