You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Alessio Soldano (JIRA)" <ji...@apache.org> on 2015/08/20 09:47:45 UTC

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

Alessio Soldano created CXF-6552:
------------------------------------

             Summary: 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


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)