Parser doesn't support line breaks in between attributes:

クローズ
#347 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript
領域
tooling

調査の方向性

Start by running the XML example from the issue and inspecting the parser's CST output for the line breaks between attributes. Trace the parser entry point that builds the CST and determine how whitespace is represented; done means those line breaks are available in the CST without losing the existing attribute information.

索引モデルが issue の本文から書いたものです。

説明

For example this XML doesn't give any information in the CST about the linebreaks between the attributes:

<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     width="100%" height="100%" viewBox="0 0 110 60">

  <g id="group-1">
    <circle cx="80" cy="30" r="20" fill="cornflowerblue" />
    <text x="80" y="33" text-anchor="middle" font-size="10">1</text>
  </g>

  <g id="group-1">
    <rect x="10" y="10" width="40" height="40" fill="gold" />
    <text x="30" y="33" text-anchor="middle" font-size="10">2</text>
  </g>
</svg>
主要言語
JavaScript
スター
59
フォーク
24
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。