Skip to content

DomElement: Ignore garbage bytes \x0C and \x06 in XML files#20

Merged
ubruhin merged 1 commit intomasterfrom
xml-sanity-check
Apr 29, 2026
Merged

DomElement: Ignore garbage bytes \x0C and \x06 in XML files#20
ubruhin merged 1 commit intomasterfrom
xml-sanity-check

Conversation

@ubruhin
Copy link
Copy Markdown
Member

@ubruhin ubruhin commented Apr 28, 2026

It seems that some EAGLE projects (maybe only the Arduino Nano schematic?) contain garbage bytes, effectively making the XML invalid and the parser failing. Thus now stripping those two garbage bytes from the input data.

See https://gitlab.com/kicad/code/kicad/-/work_items/11008

It seems that some EAGLE projects (maybe only the Arduino Nano
schematic?) contain garbage bytes, effectively making the XML invalid
and the parser failing. Thus now stripping those two garbage bytes
from the input data.
@ubruhin ubruhin merged commit cd56886 into master Apr 29, 2026
24 checks passed
@ubruhin ubruhin deleted the xml-sanity-check branch April 29, 2026 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant