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)