There should be a configuration option for skipping non-meaningful text events in-between XML tags
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start by reading the related issues #285 and #414 and the existing BOM stripping behavior in quick-xml. Then trace how the parser emits Text events between XML tags and identify where a configuration option could filter whitespace and preamble text. Done means the option handles those cases and replaces the current BOM stripping behavior.
由索引模型根据 Issue 内容生成。
描述
We should provide an option which would address https://github.com/tafia/quick-xml/issues/285#issuecomment-1199756671 by trimming away Text events that do not have meaning to XML (e.g. whitespace between elements, or text prior to the first XML open tag which may include a BOM character)
To a first approximation this option essentially filters out things which aren't relevant to the information payload of an XML document, such as formatting. This should replace the existing BOM stripping behavior.
Related to https://github.com/tafia/quick-xml/issues/285 and https://github.com/tafia/quick-xml/issues/414
- 主要语言
- Rust
- 星标
- 1.6k
- 派生
- 299
- 平均合并
- 2 天 4 小时
- 30 天内合并 PR
- 9
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
tafia/quick-xml 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
DecodingReader::set_encoding panics when the XML declaration is longer than 64 bytes可能已有人在做 @emschwartz 于 4 天前认领。 未关闭bug encoding
难度 4/5 3-5 天 新手友好度 30/100
tafia/quick-xml#1040 · 1 条评论 ·
维护者通常 1 天内回复
-
encoding optimization
难度 4/5 3-5 天 新手友好度 55/100
tafia/quick-xml#1039 · 1 条评论 ·
维护者通常 1 天内回复
-
optimization question
难度 4/5 3-5 天 新手友好度 52/100
维护者通常 1 天内回复
-
enhancement
难度 4/5 1-2 天 新手友好度 53/100
tafia/quick-xml#1035 · 1 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
priority: medium ready
难度 1/5 1 小时以内 新手友好度 88/100
TusanHomichi/PSIV#646 ·
维护者通常 1 天内回复
-
bug lab rust-mcp
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
area:cli good first issue help wanted needs translation priority:P2 type:documentation
难度 2/5 1-3 小时 新手友好度 75/100
SpecterAoD/pqkeep#226 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
haowjy/mars-agents#381 ·
维护者通常 1 天内回复
-
[Bug]: opencode_go chat route drops reasoning_effort (even 'none'), while the same endpoint honors it via custom_llm_provider=openai可能已有人在做 @arvindkumar-ship-it 今天认领。 未关闭llm translation
难度 2/5 1-3 小时 新手友好度 70/100
BerriAI/litellm#51871 · 1 条评论 ·
维护者通常 1 天内回复