cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Re: catalogLocation in JAXB/JSON Provider and @SchemaValidation
Date Wed, 23 Mar 2016 11:48:29 GMT
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/

Mime
View raw message