> 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