Ignore element in xml-to-domain mapping

I have a question about how the ignore element in the xml-to-domain mapping works. We assumed that the ignore element would work as the following: If empty is returned or if an object cannot be found in a search operation the element is skipped including all of its child elements. However after some testing we found that child elements are imported no matter the result of the parent element. in combination with the ignore flag, when you use the error tag this will work as expected My question now is, is this the intented behaviour? Because for us this is not the expected behaviour. Its does not seem logical to map the child objects if the parent is not present.
0 answers