You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just saw in the javadoc of toNormalizedString that space collapsing is the intended behavior.
I realized that using toNormalizedString2 instead of toNormalizedString the bug does not happen.
What is the difference between the two?
amnonkhen
changed the title
consecutive spaces in xml text value are squashed into a single one
consecutive spaces in xml text value are collapsed into a single one
Jun 12, 2017
The 2 spaces in the value of the a element in x y are squashed into a single space.
The code for reading the value using xpath is taken from the code samples page
The text was updated successfully, but these errors were encountered: