users@jaxb.java.net

Is it possible to tell JAXB unmarshaller to ignore namespace?

From: Daniil <petrovdv_at_gmail.com>
Date: Mon, 19 May 2008 05:59:49 -0700 (PDT)

I'm using xsd schema with defined namespace for unmarshalling xml documents.
But these xml documents do not contain namespace declaration. So there is an
exception: "javax.xml.bind.UnmarshalException: unexpected element (uri:"",
local:"Message"). Expected elements are
<{http://www.something.com/xml/Message}Message> ..."
Is it possible to tell JAXB unmarshaller to ignore namespace? Could you
suggest a workaround for this situation?
-- 
View this message in context: http://www.nabble.com/Is-it-possible-to-tell-JAXB-unmarshaller-to-ignore-namespace--tp17316677p17316677.html
Sent from the java.net - jaxb users mailing list archive at Nabble.com.