Skip to content

XML Parsing infinite loop #24

@MarlinKuhn

Description

@MarlinKuhn

Hey,

there is currently a bug inside the nbio/xml library, that creates an infinite loop when parsing specific invoices that contain the character > inside of any Field e.g. Description or Notes. But that is valid for a XML in general.
Since nbio/xml is a fork of the default encoding/xml package in go (where the bug was fixed), I created a fork of the lib and a PR nbio/xml#21 but until they merge it I would suggest using my fork https://github.com/MarlinKuhn/xml

I attach a valid XML Invoice directly from DATEV wich contains html in descriptions.

scratch_122.xml.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions