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

List:       xmlbeans-dev
Subject:    [jira] [Updated] (XMLBEANS-479) XmlException occurs when call XmlBeans.compileXsd method on List of
From:       Michal_Láska_(Updated)_(JIRA) <xmlbeans-dev () xml ! apache ! 
Date:       2012-02-09 9:55:00
Message-ID: 30142744.18774.1328781300260.JavaMail.tomcat () hel ! zones ! apache ! org
[Download RAW message or body]


     [ 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


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

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