Hi,

So I don't know if this is expected behavior, but the localName attribute 
of @JacksonXmlRootElement is not enforced during deserialization. In other 
words, if I want the input to be 

<test>
  <inner>1</inner>
</test>

And I get

<ohnoes>
  <inner>1</inner>
</ohnoes>


inner will still be deserialzed properly. This seems weird to me. Here is a 
fully reproductible test 
<https://github.com/rems/jackson/blob/master/src/test/java/com/example/jackson/DeserializationTest.java>




-- 
You received this message because you are subscribed to the Google Groups 
"jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to