Skip to content

No error when parsing empty string #18

@ottob

Description

@ottob

root, err := xmlpath.Parse(bytes.NewBufferString(""))

I expected this to fail? But I get err == nil.

http://stackoverflow.com/questions/376306/is-empty-string-valid-xml

Should I try to create a PR?

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