jakartaee / jakartaee/jaxb-api
Possible bug marshelling an object-member with text containing CR
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 79
- Forks
- 48
- Avg merge
- 7h 12m
- Merged PRs (30d)
- 2
Description
Hi,
I found a bug in version 4.0.7 marsheling CR in a text field (the version 4.0.6 works fine).
I attached a small java project with the main class "JaxbCrBugReproducer" to reproduce the error.
Regards
Juergen
Contributor 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.
Research direction
Start by extracting and running the attached jaxb-cr-bug.zip project, using its JaxbCrBugReproducer main class to observe the CR marshalling behavior in version 4.0.7. Compare the result with version 4.0.6, then trace the relevant JAXB marshalling path and add a regression test showing the corrected handling of CR in an object member.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100