Hi Jean,

I've fixed this regression in the 2.1 and master branches. 
Next 2.1 RC6 will include the fix.

Thanks,
Jerome
--
http://www.restlet.com
http://twitter.com/#!/jlouvel



-----Message d'origine-----
De : Jean Duteau [mailto:j...@duteaudesign.com] 
Envoyé : vendredi 13 juillet 2012 22:48
À : discuss@restlet.tigris.org
Objet : RE: JAXB Unmarshaling Exception

Extra information - I'm using Restlet SE 2.1RC5

I did some more debugging and I believe that I found the problem.

In
org.restlet.ext.jaxb.internal.Unmarshaller.unmarshal(JaxbRepresentation<?>,
Reader), the SaxParserFactory is set up to not be namespace aware.  So all
of the namespaces are lost.  It needs a spf.setNamespaceAware(true) and then
it will work.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=29865
79

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2996908

Reply via email to