eclipselink icon indicating copy to clipboard operation
eclipselink copied to clipboard

Add support for non-breaking spaces

Open dazey3 opened this issue 2 years ago • 0 comments

The issue is detailed here: https://community.ibm.com/community/user/wasdevops/discussion/eclipselink-named-query-parameter-is-not-recognized-in-was-90512

The issue is that java.lang.Character.isWhitespace(char) does not recognize non-breaking spaces ('\u005Cu00A0', '\u005Cu2007', '\u005Cu202F') as whitespace.

The solution is to improve EclipseLink's whitespace detection to also check java.lang.Character.isSpaceChar(char), which does include non-breaking spaces.

dazey3 avatar Dec 01 '22 18:12 dazey3