Open ottob opened 8 years ago
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?
Running latest gopkg.in/xmlpath.v1
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?