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

Đang mở
#63 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java
Lĩnh vực
api

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Java
Star
42
Fork
21
Merge trung bình
3 giờ 50 phút
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của FasterXML/stax2-api

Tất cả issue của FasterXML/stax2-api

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.