jakartaee / jakartaee/jaxb-api

Possible bug marshelling an object-member with text containing CR

Open
#371 3 comments 0 reactions 0 assignees View on GitHub

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

jaxb-cr-bug.zip

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.