Skip to content

Infinite loop with some documents #4

@hellodword

Description

@hellodword
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title type="html">
      Less: &lt;em> &amp;lt; &lt;/em>
  </title>
</feed>

or

<a><b>></b></a>
	var a struct {
		XMLName xml.Name
	}

	err := xml.Unmarshal([]byte(s), &a)
	fmt.Println(err)

It works with encoding/xml.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions