Namespace inheritance by children element #1778
Unanswered
MaximValeev
asked this question in
Q&A
Replies: 2 comments 3 replies
-
use 4.0.4 which has been released last week |
Beta Was this translation helpful? Give feedback.
1 reply
-
@lukasj sorry. I meant i have the problem with 4.0.4 version. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For now in version jaxb-runtime-4.0.3 nested elements don't inherit the root element namespace.
Status and message will get "" namespace instead of XmlRootElement's namespace so i get unmarshalleing error if try to unmarshall:
Unmarshalling Error: unexpected element (uri:"http://www.anyurl.com/wsdl/", local:"status"). Expected elements are <{}message>,<{}status>
Is it ok?
Beta Was this translation helpful? Give feedback.
All reactions