cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: svn commit: r600686 - /incubator/cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/type/XMLTypeCreator.java
Date Mon, 03 Dec 2007 23:42:56 GMT

Glen,

This validation is just to validate the xml config file.  This has 
nothing to do with the request/response data validation (which I don't 
think aegis can do at all).   Basically, this is equivalent to to the 
spring XML validation.  

Dan

On Monday 03 December 2007, Glen Mazza wrote:
> Question: For Aegis databinding, does validation occur all the time
> automatically, or only if the user explicitly requests it (such as for
> example with our wsdl2java "-v" option?)  If the latter, I would think
> it would be better for CXF to halt with an error message, requiring
> the user to either supply a parser that validates, or to turn off the
> request for validation.
>
> I'm assuming if the user has the choice for validation, and they
> selected it, that it is important to them.  It may not be safe to just
> run with an LOG.info (or even WARN) message--because they may not see
> it.
>
> Glen
>
> >              } catch (IOException ie) {
> >                  LOG.error("Error reading Aegis schema", ie);
> >              } catch (FactoryConfigurationError e) {



-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog

Mime
View raw message