Invalid XML declarations allowed
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start by reading the XML declaration handling in the parser and the existing tests for declarations; the issue does not name specific files. Check how the parser tracks whether it is at the start of the file and whether a declaration has already appeared. Done means declarations elsewhere in the file and repeated declarations are rejected, with tests covering both cases.
由索引模型根据 Issue 内容生成。
描述
The parser allows XML declarations anywhere in the file. If a declaration exists it should be at the very beginning of the file.
Also, only one declaration should be allowed.
Both of these constraints are not currently enforced.
More info on the validity of xml declarations is here.
- 主要语言
- 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 天内回复