I think the spec (JAXB 2.0) is saying about both modes as if they both were
present in 2.0 (see JAXB 2.0 spec section 4.4.2 "Unmarshalling modes" and
4.4.3 "Structural unmarshalling")

however, I also haven't found anything about switching between these two
modes so I'm not sure if they are both implemented 


dkulp wrote:
> 
> On Thu May 28 2009 6:29:27 am Lukasz Lichota wrote:
>> Which JAXB unmarshalling mode (structural/flexible) is used in CXF? I
>> guess
>> it's flexible which parses also invalid XML input, is that assumption
>> correct?
> 
> Yea.   I think that's all thats available with JAXB 2.x without schema 
> validation turned on.
> 
>> Can it be configured to use structural mode and if yes, would it be
>> faster
>> than XSD validation?
> 
> I don't think with JAXB 2.x, there is a structural mode anymore.    I did
> some 
> quick google searches and didn't see anything.   If you see any
> information 
> about how to enable it, we certainly could do it, but I really haven't
> seen 
> anything.
> 
> -- 
> Daniel Kulp
> [email protected]
> http://www.dankulp.com/blog
> 
> 

-- 
View this message in context: 
http://www.nabble.com/JAXB-unmarshalling-mode-in-CXF-tp23759146p23851845.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to