Skip to content

Fails with rare characters #1

Description

@phil294

Hi!

thanks for making this library. This one and https://deno.land/x/xml2js@1.0.0 are faster than the most common Deno xml parser. I found a bug though. Parsing

console.log(parse('<row a="^"/>'))

outputs

{ declaration: undefined, root: undefined }

so values with a ^ in it (and who knows what else) are not parsed properly.

Another short note, the Deno import from your readme is wrong, it should be import { parse }, not import parse

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions