[GH-ISSUE #12357] XML syntax error on line 4: invalid character entity & with qwen3-coder parser #8210

Closed
opened 2026-04-12 20:40:58 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @jmorganca on GitHub (Sep 20, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/12357

Originally assigned to: @drifkin on GitHub.

What is the issue?

time=2025-09-20T11:22:59.961-07:00 level=TRACE source=qwen3coder.go:84 msg="qwen events parsed" events="[{raw:\n<function=shell>\n<parameter=command>\npwd && ls -la\n</parameter>\n</function>\n}]" state=0 acc=""
time=2025-09-20T11:22:59.961-07:00 level=WARN source=qwen3coder.go:56 msg="qwen tool call parsing failed" error="XML syntax error on line 4: invalid character entity & (no semicolon)"

Relevant log output


OS

No response

GPU

No response

CPU

No response

Ollama version

No response

Originally created by @jmorganca on GitHub (Sep 20, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/12357 Originally assigned to: @drifkin on GitHub. ### What is the issue? ``` time=2025-09-20T11:22:59.961-07:00 level=TRACE source=qwen3coder.go:84 msg="qwen events parsed" events="[{raw:\n<function=shell>\n<parameter=command>\npwd && ls -la\n</parameter>\n</function>\n}]" state=0 acc="" time=2025-09-20T11:22:59.961-07:00 level=WARN source=qwen3coder.go:56 msg="qwen tool call parsing failed" error="XML syntax error on line 4: invalid character entity & (no semicolon)" ``` ### Relevant log output ```shell ``` ### OS _No response_ ### GPU _No response_ ### CPU _No response_ ### Ollama version _No response_
GiteaMirror added the bug label 2026-04-12 20:40:58 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#8210