--- ./jaxb-ri-base/runtime/src/com/sun/xml/bind/v2/runtime/unmarshaller/UnmarshallerImpl.java 2008-11-05 09:35:27.000000000 +0000 +++ ./jaxb-ri/runtime/src/com/sun/xml/bind/v2/runtime/unmarshaller/UnmarshallerImpl.java 2009-06-18 15:06:06.753703635 +0100 @@ -516,10 +516,11 @@ /** - * Default error handling behavior fot {@link Unmarshaller}. + * Default error handling behavior for {@link Unmarshaller}. */ public boolean handleEvent(ValidationEvent event) { - return event.getSeverity()!=ValidationEvent.FATAL_ERROR; + int severity = event.getSeverity(); + return (severity != ValidationEvent.FATAL_ERROR && severity != ValidationEvent.ERROR); } private static InputSource streamSourceToInputSource( StreamSource ss ) {