[Bug]: trimming non breakable spaces
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 67/100
Research direction
Start by reviewing the earlier issue #7229 and locating the trimming function used by the Transforms component. Check how it handles non-breaking spaces and compare that with Java's whitespace behavior. Done means trimming removes NBSP as expected; the issue does not name a file or test, so identify the relevant test before making a change.
Written by the indexing model from the issue text.
Description
Apache Hop version?
2.19
Java version?
21.0.12.1
Operating system
Windows
What happened?
Hi,
I had created the following issue #7229 [Bug]: JSONinput trim doesn't remove non breakable space (NBSP).
Today I encountered the exact same problem, even though this bug shoudl have been resolved nowadays.
It appears that Java doesn't treat non breakable spaces as whitespace characters, and so it doesn't trim them.
Maybe non breakable spaces could be added to the trimming function?
Issue Priority
Priority: 3
Issue Component
Component: Transforms
- Dominant language
- Java
- Stars
- 1.5k
- Forks
- 485
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 256
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/hop
-
awaiting triage Documentation P3
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
awaiting triage Documentation P3
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
awaiting triage Documentation P3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
awaiting triage Documentation P3
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
[Task]: Beam Flink pipeline engine page: Flink version, contradicting job id sections and Javadoc leftoversPossibly taken @Adalennis claimed this 6 days ago. OpenDocumentation P3
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
apache/hop#9048 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
strimzi/strimzi-kafka-operator#13328 · 1 comment · 3 reactions ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
OpenLiberty/ci.maven#2137 ·
Maintainers usually reply within 1 day
-
Payer adjustment can exceed the balance left after copay and deductible, so claim payments add up to more than the chargePossibly taken @DG47 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
synthetichealth/synthea#1772 ·
Maintainers usually reply within 13 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
geonetwork/core-geonetwork#9592 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
NationalSecurityAgency/ghidra#10040 ·
Maintainers usually reply within 2 days