You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Akitoshi Yoshida (JIRA)" <ji...@apache.org> on 2016/02/01 16:36:40 UTC

[jira] [Updated] (CXF-6552) Multiple chained schema imports not handled correctly

     [ https://issues.apache.org/jira/browse/CXF-6552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Akitoshi Yoshida updated CXF-6552:
----------------------------------
    Fix Version/s: 2.7.18
                   3.0.7

> Multiple chained schema imports not handled correctly
> -----------------------------------------------------
>
>                 Key: CXF-6552
>                 URL: https://issues.apache.org/jira/browse/CXF-6552
>             Project: CXF
>          Issue Type: Bug
>          Components: Simple Frontend
>            Reporter: Alessio Soldano
>            Assignee: Alessio Soldano
>             Fix For: 3.1.3, 2.7.18, 3.0.7
>
>
> We seems to still have issue with xsd/wsdl schema import location rewrite in scenarios as follows:
> {noformat}
> `-- WEB-INF
>     `-- classes
>         `-- wsdl
>             |-- sayhi
>             |   |-- a.wsdl
>             |   |-- sayhi
>             |   |   |-- a.wsdl
>             |   |   `-- sayhi-schema1.xsd
>             |   `-- sayhi-schema1.xsd
>             `-- thewsdl
>                 `-- sayHi.wsdl
> {noformat}
> WEB-INF/classes/wsdl/thewsdl/sayHi.wsdl being the entry point and importing "../sayhi/sayhi-schema1.xsd",  WEB-INF/classes/wsdl/sayhi/sayhi-schema1.xsd importing "sayhi/sayhi-schema1.xsd".
> The problem is that the second import is not rewritten because when filling up the schema map used for wsdl/xsd updates, relative key values are erroneously used (IOW the second import "say/sayhi-schema1.xsd" is not resolved on top of the first one "../sayhi/sayhi-schema1.xsd", while it should).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)