Add `StreamWriter.writeRaw(String text, boolean closeOpenStart)`

Open
#63 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
java
Domain
api

Research direction

Start by reading the StreamWriter interface and the existing writeRaw overloads to understand their current contract; the payload does not name files or tests. Check how open elements are handled before raw writes, then define the new overload’s behavior and clarify the existing methods’ behavior. Done means the API contract supports formatting attributes within elements and clearly specifies whether raw writes close open elements.

Written by the indexing model from the issue text.

Description

This new method is necessary to support e.g. formatting attributes within elements (see https://github.com/FasterXML/woodstox/issues/298). The default behaviour of the other writeRaw methods should be clarified at the same time that they are expected to close any open elements prior to writing.

Dominant language
Java
Stars
42
Forks
21
Avg merge
3h 50m
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from FasterXML/stax2-api

All issues in FasterXML/stax2-api

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.