cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vjacheslav V. Borisov" <slav...@gmail.com>
Subject Re: catalogLocation in JAXB/JSON Provider and @SchemaValidation
Date Wed, 23 Mar 2016 05:21:28 GMT
> 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message