When trying to parse XML with attributes that have a colon in name, the parsing fails. For example, the following code prints `failed!`: ```go s := `<?xml version="1.0" encoding="utf-8"?><rss xml:id="1-1"/><rss xml:id="1-2"/>` doc, err := xmlquery.Parse(strings.NewReader(s)) node := doc.SelectElement(`//rss[@xml:id='1-2']`) if node == nil { fmt.Print("failed!") } ```
Activity
fix antchfx#6, the attribute name with namespace prefix