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 was working with your library and I've noticed the normalize-space function is not replacing internal whitespace characters with one space as per the spec:
The normalize-space function returns the argument string with whitespace normalized by stripping leading and trailing whitespace and replacing sequences of whitespace characters by a single space. [...]
Here's the minimal Go code that reproduces the issue:
Hi @zhengchun,
I was working with your library and I've noticed the
normalize-space
function is not replacing internal whitespace characters with one space as per the spec:https://www.w3.org/TR/1999/REC-xpath-19991116/#function-normalize-space
Here's the minimal Go code that reproduces the issue:
This would print
No matches
.Thank you for your time and effort!
The text was updated successfully, but these errors were encountered: