OF-1087: Whitespace does not take into account element boundary.
The original code depends on a whitespace to be present within the limits of the element. This is not safe (eg: <message><foo/></message> fails). Instead, the closing characters ( > or /> ) of the first element should be used, as that's guaranteed to be present.
Showing
Please register or sign in to comment