Author: richard.opalka(a)jboss.com
Date: 2010-04-30 03:31:52 -0400 (Fri, 30 Apr 2010)
New Revision: 12124
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/JAXBDeserializer.java
Log:
[JBWS-2686] rollback workaround - it's causing TCK6 regressions
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/JAXBDeserializer.java
===================================================================
---
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/JAXBDeserializer.java 2010-04-30
02:11:30 UTC (rev 12123)
+++
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/JAXBDeserializer.java 2010-04-30
07:31:52 UTC (rev 12124)
@@ -77,17 +77,7 @@
Unmarshaller unmarshaller = jaxbContext.createUnmarshaller();
unmarshaller.setAttachmentUnmarshaller( new AttachmentUnmarshallerImpl());
-
- //workaround for
https://jira.jboss.org/jira/browse/JBWS-2686 while waiting for
Sun's bug to be fixed
- unmarshaller.setEventHandler(new ValidationEventHandler() {
- public boolean handleEvent(final ValidationEvent event)
- {
- int severity = event.getSeverity();
- return (severity != ValidationEvent.FATAL_ERROR && severity !=
ValidationEvent.ERROR);
- }
- });
-
JAXBElement jbe = unmarshaller.unmarshal(xmlFragment, javaType);
value = jbe.getValue();