Thanks for the analysis and the patch, I'm traveling so will look into it in detail next week (though might apply the patch earlier), does your patch addresses all of your concerns you raised in this thread ?

Cheers, Sergey

On 23/03/16 08:21, Vjacheslav V. Borisov wrote:
Don't know, how should this fixed (or should not)
E.g. , code like this could fix that, but seems ugly:
resolvedLocation =
catalogResolver.resolvePublic(publicId!=null?publicId:namespaceURI,
systemId);


Found where it takes place in case of cxf-wadl2java-plugin,
please see SchemaCompilerImpl.bind(), it passes namespaceURI as publicId
parameter, while SchemaHandler passes publicId as publicId, which is null,
and resolve does not takes place.
http://grepcode.com/file/repo1.maven.org/maven2/com.sun.xml.bind/jaxb-xjc/2.2.11/com/sun/tools/xjc/api/impl/s2j/SchemaCompilerImpl.java

I submitted my patch  https://issues.apache.org/jira/browse/CXF-6840



--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Reply via email to